Use dimension Use dimension
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Use dimension

Started by 1bigmike, November 09, 2004, 03:11:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

1bigmike

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

What exactly is Max aspect for thumbnail use demension?

Thanks!

Joachim Müller

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

1bigmike

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 :)