Brenden Kehren
-
1/9/2013 9:46:22 AM
RE:Forcing image size increase on GetImage
In regards to your code sample, setting the max side (190) will only resize (down) if the image has a side larger than 190px. So if your image was 150px, it won't scale it up.
Do you have image size limitations set in SiteManager>Settings>Files>Image resizing? If so, you'd have to be careful about going over that limit otherwise it would be a waste of setting the value.
To answer your question, I'd suggest creating your own method that utilizes the CMS.GlobalHelper.ImageHelper class.
|