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: Use dimension  (Read 3360 times)

0 Members and 1 Guest are viewing this topic.

1bigmike

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Use dimension
« on: November 09, 2004, 03:11:30 am »

Hi, I know this is probably a stupid question buthere goes anyway.

What exactly is Max aspect for thumbnail use demension?

Thanks!
« Last Edit: November 11, 2004, 10:43:40 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Use dimension
« Reply #1 on: November 09, 2004, 07:34:24 am »

You set a max dimension for the thumbnail - let's say "100 pixels". If the original pic you're going to convert into a thumbnail has landscape orientation with e.g. 1600 x 1200 pixels, the thumbnail will be 100 x 75 (1200 * 100 / 1600). If the original is 768 x 1024 (portrait orientation), the thumbnail will be 75 x 100 (768 * 100 / 1024).

Joachim
Logged

1bigmike

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Use dimension
« Reply #2 on: November 11, 2004, 09:44:17 am »

I see, it basically will make the largest side of the image the size you set. As opposed to making the hieght or width the size you set.

I think this way of setting it will keep your landscape and portrait thumb images alot closer in size.

Thanks for he reply!

Mike :)
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.