The plugin will trash the folder post if the folder not exists anymore on the ftp
But deleting these trashed folders posts leaves their attachments in the database.
– This results to zomby attachments in the Media Library, where theres attachments shows as Un-Attached and their images url is broken.
Maybe the plugin checks if the image exists before deleting the attachment post, because it works fine if you trash folders in the admin. Works fine if you don’t delete folders, but delete only the images.
Is there any special meta data in the db for Eazyest Gallery attachments? At least this could help us to write a script to delete these zomby attachments.