Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Solved]: Deleting of original picturs in util.php  (Read 2729 times)

0 Members and 1 Guest are viewing this topic.

je79ayps

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 45
[Solved]: Deleting of original picturs in util.php
« on: August 09, 2004, 12:58:54 pm »

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)?
« Last Edit: August 09, 2004, 06:39:27 pm by GauGau »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Deleting of original picturs in util.php
« Reply #1 on: August 09, 2004, 03:58:49 pm »

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.
Logged
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

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 45
Re: Deleting of original picturs in util.php
« Reply #2 on: August 09, 2004, 06:31:55 pm »

Thanks, Casper!
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.