Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is there any way with Slimsy to avoid the downloading of not visible images?
I have an image with different sizes(different croppers) that will be displayed either on mobile or on desktop.
Here is the code:
<img class="visible-mobile" src="@Model.Image.Cropper.GetResponsiveCropUrl(317,238)" alt="" />
<img class="visible-desktop" src="@Model.Image.Cropper.GetResponsiveCropUrl(147, 363)" alt="" />
Basically, what I need is to avoid the downloading for an image that will not be displayed.
That's kind of like a simplified Art Direction, Slimmage is really designed for the image to be same across different devices but with the best sized image loaded depending on the device.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted