Delete Unused Picture Files Delete Unused Picture Files
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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.