I am using Image Style with
Scale and Crop option with the dimension
110 * 110. If the style applies on small image it upscales the size to
110 * 110. I don't want to upscale it. How to do that?
- A separate scale image effect followed by a separate crop image effect won't give you what you want.
- Imagecache Actions does not offer a single image effect that does what you want.
However, what you could do is use the aspect switcher image effect of imagecache_actions:
- if portrait: scale to 110x(empty) (no upscaling)
- if landscape: scale to (empty)x110 (no upscaling)
crop to 110x110
ImageCache Actions module gives you way better control. Using it, you can create an "downscale, crop, put on background" set of commands that will give you 110 x 110 px image without upscaling.
With the image style
scale and crop option, it will always upscale the image. It is only with an image style like
scale that you have the options of not up-scaling. So your best option is to find another image style that might meet your need. For more image style options, check out the Imagecache Actions