Image Resizing

See all posts Reply

Image Resizing new!
by Matthew, 17 years ago
how can i make it so that if the image is smaller than the proposed resize, it doens't resize but just copies the original.

ThanksReply
Re: Image Resizing new!
by colin, 17 years ago
Use image_ratio_no_zoom_in instead of image_ratio

As per the doc:
"image_ratio_no_zoom_in same as image_ratio, but won't resize if the source image is smaller than image_x x image_y (default: false)"
$handle->image_ratio_no_zoom_in = true;
Reply
Re: Image Resizing new!
by Matthew, 17 years ago
brilliant thank you so muchReply