How to not enlarge the image
How to not enlarge the image new!
# Reply
by Chan, 9 years, 7 months ago
I want to limit the max image width to 400, therefore, If I upload a image 1000 x 1000, it should be 400 x 400, if I upload 300 x 300, it should remained 300 x 300, but image always re size to 400 x xxx, here is my setting, how to implement that?
Re: How to not enlarge the image new!
# Reply
by colin, 9 years, 7 months ago
You cannot use two image_ratio_xxxx properties at the same time. In fact, you cannot have a "no_zoom_out" effect if you are using image_ratio_y, it is a known shortcoming.
Re: How to not enlarge the image new!
# Reply
by Chan, 9 years, 7 months ago
Any solution to accomplish my goal?
Re: How to not enlarge the image new!
# Reply
by colin, 9 years, 7 months ago
I am afraid you will have to do it outside the class, using image_src_x and image_src_y to check whether you need to resize or not.
Re: How to not enlarge the image new!
# Reply
by Chan, 9 years, 7 months ago
It's works for me, thanks