See all posts Reply

Dimension new!
by MAtthew, 16 years, 2 months ago
Hi There, I have a small prob, when i upload a landscape size image and resize using $handle->image_x = 250; The image is scaled fine, but if i uploade a portrait image the height is too much , what is the best way to resize to an area. i.e i have a box 250x250 i want the image to fit in regardless of its orientation.Reply
Re: Dimension new!
by colin, 16 years, 2 months ago
Do as following:
$handle->image_x = 250;
$handle->image_y = 250;
$handle->image_ratio = true;
Re: Dimension new!
by matt, 16 years, 2 months ago