I'm working on an edit page for updating an image in a photo gallery. I have been using all 3 images that the extension allows (full size, and two thumbnails). I have selected to delete the existing images when updating, but it is not removing the images from the previous settings. The new image and it's thumbnails are getting done correctly and the record saved to the database, but I just would love it to also remove the images that are being replaced.
For the images I am using "name only". I tried using "site path and name" and it does work fine then (it removes the previous images when being updated with a new image). However, the delete behavior of this extension no longer works once you are using site path and name. Given a choice, I'd rather have the delete function work correctly and leave orphaned images on the server when updating existing entries, but it seems like it should just be doing this already. Why does it now remove previous images when you are using "name only" for the images on the upload panel of the extension? |
|
|