forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: hiddenvalley390 on April 08, 2012, 11:37:36 pm

Title: Delete Unused Picture Files
Post by: hiddenvalley390 on April 08, 2012, 11:37:36 pm
I have pictures that are in the userpics folder that dont show in coppermine and I was wondering if there is a way to make coppermine automatically delete them?
Title: Re: Delete Unused Picture Files
Post by: Αndré on April 09, 2012, 02:43:57 pm
That's not possible out of the box. It should be possible to write a script that checks for each picture if it's added to the database and if not, delete it from that folder. I don't know if such a script already exists.