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

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]

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