Check for orphaned photos plug-in Check for orphaned photos plug-in
 

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

Check for orphaned photos plug-in

Started by HoundSP, June 14, 2006, 07:49:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

HoundSP

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.  :-\

jjhat1

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.