what if original photo is smaller than image_x or image_y?

See all posts See thread Reply

Re: what if original photo is smaller than image_x or image_y? new!
by colin, 14 years, 5 months ago
The setting image_ratio_no_zoom_in replaces image_ratio, not image_ratio_y.

If you use image_ratio_no_zoom_in or image_ratio, you need to set image_ratio_x and image_ratio_y. If you don't set image_ratio_y, it defaults to 150.

There is currently no way to have the "no_zoom_in" option to automatically check only on the width. That said, you can program it yourself: before calling process, read image_src_x and image_src_y and depending on the values, adapt the ratio settings for both your cases.Reply