Advanced search  

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

Pages: [1]   Go Down

Author Topic: [Solved]: Deleting of original picturs in util.php  (Read 2744 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 14 queries.