Hello!

Images, which has ben removed from a page, or images, which belong to a deleted page, remain on the server.
As time goes, the server will fill up with orphaned images.

Is it possible to include a feature (like a cron) on the aef_image settings page, which cross checks aef_image nodes with the files on the server and deletes the orphaned ones?

Or maybe it is easier to to this on a page level?

When a page is going to be saved or deleted, aef_image checks if any files has been removed from the node, and deletes it from the server.

What do you think?

Thanks :)

Comments

ndeschildre’s picture

Indeed, something I need to do!

But to be honest, it won't be high on my priority list.
But we will eventually end up with the same problem so that will push this issue higher sooner than later.

Cheers,
Nicolas

stefan81’s picture

Status: Active » Postponed

Hello Nicolas,
FYI, could be helpful for you too ;) http://drupal.org/project/auditfiles