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: Check for orphaned photos plug-in  (Read 3329 times)

0 Members and 1 Guest are viewing this topic.

HoundSP

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Check for orphaned photos plug-in
« on: June 14, 2006, 07:49:38 pm »

I'd be good if there is a plugin or any method helping admin to check for orphaned photos. When user did not complete the submission process or submit broken images they will leave orphaned photos in the upload directory.  :-\
Logged

jjhat1

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 17
Re: Check for orphaned photos plug-in
« Reply #1 on: June 15, 2006, 01:36:19 am »

If someone did not complete the submission process then the picture is just located in the edit folder.  Periodically this folder has a garbage collection script that is run to get rid of the pictures that were uploaded but not placed in an album and therefore moved out of the edit folder.

However, I believe that the suggestion for a plugin to look for orphaned files of pictures that were manually added or failed to delete would be useful.  The only risk of this is having permissions that caused the file to be orphaned to begin with and checking for both thumbnails and intermediate pictures that are orphaned without the full quality picture.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.