Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8832

Kentico 10 MVC Image resizing

$
0
0
I'm using the new methods available in MVC to reference images in the media library:Url.Kentico().ImageUrl(banner.BackgroundImageMobile.ToLower(), SizeConstraint.MaxWidthOrHeight(768)) The image loads fine but does not resize with the constraint on it. Do I have to add my own logic that resizes images using the query string parameters?

Viewing all articles
Browse latest Browse all 8832

Trending Articles