Image Zoom

See all posts Reply

Image Zoom new!
by Matthew , 17 years ago
Here i want to make sure the image isnt enlarge if the source size is smaller than x and y...

But below doesn't work it still zooms in
$handle->image_ratio_no_zoom_in = true;
$handle->image_resize           = true;
$handle->image_ratio_y          = true;
$handle->image_x    = $image_size_medium;
Reply
Re: Image Zoom new!
by colin, 17 years ago
You can use only one image_ratio_### parameter at the same time.

Do something like this:
$handle->image_ratio_no_zoom_in = true;
$handle->image_resize           = true;
$handle->image_y    = $image_size_y_medium;
$handle->image_x    = $image_size_x_medium;
Reply