Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Delete Unused Picture Files  (Read 1796 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.016 seconds with 19 queries.