News:

CRITICAL UPGRADE CPG RELEASE 1.6.30
Version 1.6.30 removes a serious security issue that could allow unauthorized access to modify your site. Upgrade as soon as possible.

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.