When you use the image uploading widget, It creates thumbnail images and an ID for the image, but this is only temporary, these images will be deleted after 1 hour. To avoid deletion of these images, you have to use the following method to make them permanent.
1. MaeAlbumsDao.setTempFileAsFinal(String imgId);
This method can be used into the event actions using a code block. It only needs the image ID to make the image and its thumbnails permanent
2. void MaeAlbumsDao.deleteImg(HttpServletRequest request, String imgId)
Delete a image uploaded to the server given its Id
created with
HTML Designer .