Can Gallery Delete Original FTP Uploaded Image (See Inside f

abricko

Joined: 2002-09-26
Posts: 7
Posted: Fri, 2002-09-27 16:44

I regularly upload images to a folder using FTP, then i have gallery process them, it will then create the thumbnails the preview and fullsize in a gallery folder, however the original files will remain, basically just taking up space. I have to delete those files before i upload more, is there a way to have gallery delete them after it processes the files. maybe add a button in the add files popup window?

 
castelijn

Joined: 2002-09-17
Posts: 11
Posted: Fri, 2002-09-27 17:07

you could change the upload and save script and put an 'rm originalfilename' in the PHP code. You could also size your files offline (in Windows for instance, using any picture editor which supports 'batch processing' and 'resizing'. I know that <!-- BBCode Start --><A HREF="http://www.acdsee.com" TARGET="_blank">ACDSee</A><!-- BBCode End --> does a good trick. Quick and thorough, hardly without affecting the quality...! If you use digital pictures, your EXIF gets updated too, quite useful.

 
jodeyeman

Joined: 2002-10-04
Posts: 10
Posted: Wed, 2002-10-09 03:09

Try this. I had to something similar and it works so you can delete files if needed

You should use Bharat's Cleanup script to have permissions to overwrite the resized files. Then you replace the resized files manually with your own. But keep in mind that the width and height should be the same, otherwise they won't display correctly.