[Solved]: Resizing question. [Solved]: Resizing question.
 

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]

Main Menu

[Solved]: Resizing question.

Started by bradg, April 10, 2004, 07:52:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bradg

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

Casper

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.
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

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

bradg

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