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: [Solved]: Resizing question.  (Read 2658 times)

0 Members and 1 Guest are viewing this topic.

bradg

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
    • http://www.bradgoodwin.com
[Solved]: Resizing question.
« on: April 10, 2004, 07:52:22 pm »

I'm having trouble with the image resizing.  Most of the photos uploaded are portrait (960x1280) or landscape (1280x960), and I want everything resized to 480x640 or 640x480.  when I set the "Max width or height of an intermediate picture" to 640, the landscapes come out as 853x640, but the portraits come out right.  if I set it to 480, then the landscapes come out right, but  the portraits come out as 360x480.

by "Max width or height", at first I assumed that meant the max of either, so that 640 would work, but it doesn't seem the be the case, it seems to be the max height.  Am I doing something wrong?

Thanks
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
[Solved]: Resizing question.
« Reply #1 on: April 10, 2004, 08:33:04 pm »

This has caused some discussion in the past.  The max height or width of the intermediate pics is set by the aspect choosen for the thumbs.
So if thumbs is set at height, and you have set the intermediates to 400, then they will be 400 high (or less if smaller), but can be any width.  This will make panoramics very big, and portraits comparitively small.
I'm sure this is something being looked at for the future.
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

bradg

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
    • http://www.bradgoodwin.com
[Solved]: Resizing question.
« Reply #2 on: April 10, 2004, 08:58:50 pm »

okay, thanks.  I figured something like that, but I wanted to be sure.
Logged

bradg

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
    • http://www.bradgoodwin.com
[Solved]: Resizing question.
« Reply #3 on: April 10, 2004, 09:12:12 pm »

hey, I figured it out!  onder the thumbnail 'use dimension' thing, there's a 'max aspect' option.  This is exactly what I was looking for, I just tried it with a couple test photos, and it seemed to work.  Thanks for pointing out that thumbnail dimension thing casper, you helped me solve my problem!

-thanks
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 14 queries.