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

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

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