danielhok
09/07/2023, 1:52 PMRachel D
09/07/2023, 1:54 PM<picture>
element in the html. Then you can specify all the crops for all the different sizes you need: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pictureRachel D
09/07/2023, 1:55 PM<img>
element for browsers that don't support <picture>
yetdanielhok
09/07/2023, 1:56 PMRachel D
09/07/2023, 1:57 PMdanielhok
09/07/2023, 1:57 PMRachel D
09/07/2023, 1:57 PMdanielhok
09/07/2023, 1:58 PMRachel D
09/07/2023, 1:58 PMdanielhok
09/07/2023, 1:58 PMAmbert
09/07/2023, 2:00 PMhtml
<picture class="image-full">
<source media="(min-width:2570px)" srcset="@GetImageUrl("widescreen")">
<source media="(min-width:1940px)" srcset="@GetImageUrl("large")">
<source media="(min-width:601px)" srcset="@GetImageUrl("normal")">
<source media="(max-width:600px)" srcset="@GetMobileImageUrl()">
<img src="@GetImageUrl("normal")" alt="@(labelURL != null ? labelURL.Name : string.Empty)">
</picture>
danielhok
09/07/2023, 2:03 PMProBot β¨
09/07/2023, 2:03 PMRachel D
09/07/2023, 2:13 PMRachel D
09/07/2023, 2:14 PMdanielhok
09/07/2023, 2:14 PMJason
09/07/2023, 3:28 PMdanielhok
09/07/2023, 4:30 PMJason
09/07/2023, 4:36 PMdanielhok
09/07/2023, 4:36 PMJason
09/07/2023, 4:38 PMdanielhok
09/07/2023, 4:38 PMJason
09/07/2023, 4:39 PMJason
09/07/2023, 4:39 PMdanielhok
09/07/2023, 4:40 PMdanielhok
09/07/2023, 4:42 PMMike Chambers
09/11/2023, 10:34 AMumbraco tag helpers
.. has lazy and responsive support?
https://github.com/umbraco-community/Our-Umbraco-TagHelpers#our-imgkdx-perbol
09/20/2023, 9:04 AMJason
09/25/2023, 8:50 AM