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: Files to delete after Batch Add files  (Read 6118 times)

0 Members and 1 Guest are viewing this topic.

twum

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Files to delete after Batch Add files
« on: January 19, 2005, 03:36:03 pm »

I've managed to install Coppermine successfully and I have added some fotos to the gallery. I used the batch add feature, by creating a subfolder in the album folder and uploading the images there.

When I look now in that folder, I see the original jpegs I uploaded, plus two others of the same image, but different names. Added are the files normal_filename.jpeg and thumb_filename.jpeg. I guess the thumbnail one is used to show the thumbnails, but which of the other two others can I delete? The original one or the one that starts with normal_?

THanks for any help you can give me.
twum
« Last Edit: January 20, 2005, 06:55:19 am by GauGau »
Logged

Nibbler

  • Guest
Re: Files to delete after Batch Add files
« Reply #1 on: January 19, 2005, 03:38:23 pm »

Why delete any of them ? the normal_ version is the resized picture you see on displayimage.php, the original is what you get when you click on the resized version.
Logged

twum

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Files to delete after Batch Add files
« Reply #2 on: January 19, 2005, 05:45:40 pm »

Hi Nibbler,

Thanks for the reply.

Well, my initial reason for wanting to delete either the original or the normal_ version is for space reasons. If the original is not really used anymore, then there's no need for it. That was my thinking.

I looked at the source of the display.php page for one of the images, in my browser window and image that is shown is the original, not the normal_ version. And this image is not clickable. Am I missing something here?

Thanks again
twum
Logged

Nibbler

  • Guest
Re: Files to delete after Batch Add files
« Reply #3 on: January 19, 2005, 05:57:17 pm »

If the pic is small then coppermine doesn't make a resized version as the original is small enough to begin with. You can disable the creation of intermediate pics in config if you like, then you will only have thumbs and originals.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Files to delete after Batch Add files
« Reply #4 on: January 19, 2005, 05:59:34 pm »

Coppermine takes the original image, creates thumb_ (thumbnail) and normal_ (intermediate) images.  Clicking on the thumbnail brings you to the smaller image, then clicking on that images displays the pop-up, full size, original image.  Check your intermediate image settings on your config page.  If your original image dimensions are smaller than the intermediate settings, you get no normal_ image.

If you are worried about storage space, you should resize or lower the quality of your original image before you upload it (which reduces the file size).
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

MartinW

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Files to delete after Batch Add files
« Reply #5 on: January 19, 2005, 09:52:27 pm »

All my files at upload are 500x375 or 375x500 depending on rotation.
The 500x375s normal_ copy is exactly the same, but the 375x500s normal_ is 300x400.

The max width or height of intermediate is set to 400.
It doesnt make sense that it creates the intermediate files with exactly the same dimensions.

If I disable the intermediate creation, can I safely delete the normal_ files?
Logged

Nibbler

  • Guest
Re: Files to delete after Batch Add files
« Reply #6 on: January 19, 2005, 09:56:21 pm »

Then you have 'Use dimension' set to height. Only pics higher than 400 will be resized and the width is ignored. You can safely delete normal_ pics if you disable the option in config, yes.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Files to delete after Batch Add files
« Reply #7 on: January 19, 2005, 10:30:08 pm »

By "disable the option in config", Nibbler means the create intermediate pictures option.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

twum

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Files to delete after Batch Add files
« Reply #8 on: January 19, 2005, 11:42:09 pm »

Hi guys,

Thanks a lot for the information. Now I understand the way coppermine works. Alls has to do with the pixelsize of the image and what is set in the config options.

Thanks again and till my next question, I wish you all the best.
twum
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.