Delete Unused Picture Files Delete Unused Picture Files
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Delete Unused Picture Files

Started by hiddenvalley390, April 08, 2012, 11:37:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hiddenvalley390

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?

ΑndrĂ©

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.