Physical *.jpg files not deleted from server directory when deleted by API
-
When images are deleted from a gallery by the use of an API (nextgen-lightroom connection), the physical files are not removed from the server pictures directory. It seems that the API only removes the link between the gallery and the actual jpg file. When files are deleted through use of the dashboard the files are correctly deleted from the server, provided the settings to do this in “other options” is set correctly.
The issue is reproduced on two different hosting environment with different themes. All plugins are up to date.And Yes, the setting to delete files in the tab other options”is set correctly.
And, Yes, I have checked with the LR plugin developer if this is correct.This has several implications:
1.) The remaining unused files are not seen any more by the plugin using the API and are therefore using unnecessary server space. This can be al lot when I need to have 20.000 pictures online. Manually deleting this through a FTP connection is not practical since they cannot be identified automatically.
2.) When a picture is deleted from the gallery and then added back again later, the API will create a second instance of the picture on the server. This will also use unnecessary server space.
How can this be resolved?
- The topic ‘Physical *.jpg files not deleted from server directory when deleted by API’ is closed to new replies.