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: Unable to Resize & Delete Original Photos  (Read 3206 times)

0 Members and 1 Guest are viewing this topic.

avidreader514

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Unable to Resize & Delete Original Photos
« on: July 09, 2005, 04:25:02 pm »

I've been uploading pictures to the userpics folder and creating albums. Then, I run the Resize Pictures script to create thumbnails and the Delete Original Size Photos script, but the original size photos aren't deleted from the userpics folder. The Resize script doesn't appear to be creating the "normal_[filename]" intermediate picture to replace the original photos in the album.

The uploaded files are generally 360 x 480 pixels in size. The default size of the intermediate photos is 400 pixels.

Could the problem be the file size?
Logged

Nibbler

  • Guest
Re: Unable to Resize & Delete Original Photos
« Reply #1 on: July 09, 2005, 04:31:29 pm »

1) Why are you uploading into userpics ?

2) It doesn't work like that - the delete originals script renames the normal_picture.jpg to picture.jpg.
Logged

avidreader514

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Unable to Resize & Delete Original Photos
« Reply #2 on: July 09, 2005, 05:43:29 pm »

1) I uploaded into userpics because that was the default setting on my Coppermine installation. Now that I have the albums created, it's too late to change the setting.

2) I thought the Delete Originals is supposed to set  "normal_[filename]" as the main picture and remove the originals from the userpics folder. Those files are still present in the userpics folder when I go to Batch Add Pictures.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Unable to Resize & Delete Original Photos
« Reply #3 on: July 11, 2005, 06:45:18 am »

1) I uploaded into userpics because that was the default setting on my Coppermine installation. Now that I have the albums created, it's too late to change the setting.
Not true: by default, http uploads go into userpics. FTP-uploads are suppossed to go into sub-folders you're meant to create. Leave all existing pics as they are, but from now on do as suggested in the docs (read the batch-add section). Coppermine doesn't move files around.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.