Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Delete Unused Picture Files  (Read 1772 times)

0 Members and 1 Guest are viewing this topic.

hiddenvalley390

  • Contributor
  • Coppermine newbie
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 8
Delete Unused Picture Files
« 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?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Delete Unused Picture Files
« Reply #1 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.