[Solved]: Deleting of original picturs in util.php [Solved]: Deleting of original picturs in util.php
 

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

[Solved]: Deleting of original picturs in util.php

Started by je79ayps, August 09, 2004, 12:58:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

je79ayps

I'm using intermediate pics in my gallery at 640px max aspect.

Normally people upload pics above 640px and then the intermediate is created. I then, to free up spae, delete the originals so the intermediate is the only left.

Now someone has uploaded some 640x480px pics, so the intermediate isn't created.

How dow CPG go about this if I go and delete the originals in util.php (I haven't tried as I'm affraid it will delete the 640x480px pics)?

Casper

Coppermine only deletes the original if it finds a 'normal_' version.  It then renames the normal to remove the prefix.

If no normal exists, then coppermine leaves the pic alone.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

je79ayps