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: QUERY: adding new photo that fits in to the normal_ specs....  (Read 6360 times)

0 Members and 1 Guest are viewing this topic.

kevingpo

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
QUERY: adding new photo that fits in to the normal_ specs....
« on: February 12, 2005, 01:50:22 am »

One question:

Am I right in assuming that:

for every single photo that goes through the "adding new photo to coppermine" stage, it will go through the GD2.x compression/resize to match/fit the dimensions of normal_ & thumb_ dimenstions? irrespective of whether the original photo had the same dimension as the normal_ specs?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: QUERY: adding new photo that fits in to the normal_ specs....
« Reply #1 on: February 12, 2005, 02:08:31 am »

If your original image's width or height, depending on how you have your gallery configured, is less than Max width or height of an intermediate picture/video, then only a thumb_ will be created.
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

russ

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: QUERY: adding new photo that fits in to the normal_ specs....
« Reply #2 on: February 22, 2005, 04:12:37 am »

Then, if a user upload a.jpg and coppermine converts it to normal_a.jpg and also creates a thumbnail tunb_a.jpg, is it save to assume that I can delete a.jpg to save server space.  I have some people who upload huge images.

Thanks.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: QUERY: adding new photo that fits in to the normal_ specs....
« Reply #3 on: February 22, 2005, 08:31:44 am »

no, you can't delete the full-size pic manually. The full-size pics remanins where it was uploaded to and can be accessed when clicking on the intermediate pic. Auto-resize on upload will be a feature in cpg1.4.x; in the current stable, you should resize before upload, especially if you're short on webspace.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.