{{!-- This file implements the lazysizes srcset pattern (as seen on https://github.com/aFarkas/lazysizes#modern-transparent-srcset-pattern) for maximum performance on modern browsers and reasonable compatibility with legacy browsers. There are a few important arguments to know about when using this component: `lazyload`: - If set to 'lazyload+lqip', will load a low-res image which will be replaced by lazysizes - ensuring that SOME content is shown immediately on page load. Without LQIP, a transparent gif will be used instead, which reduces the number of requests needed to load the page, making it even faster. - If set to 'lazyload', the browser will not load the full-size image at first, instead the lazysizes plugin will load it progressively after page load. This improves the load speed of the page, but it should be disabled for high-priority above-the-fold images. - If set to 'disabled', will not attempt to lazyload the image and instead tell the browser to load it immediately. Use this for high-priority images that are above the fold. `fallback_size`: This is the size to use for this image in legacy browsers that do not support srcset. Can be defined as a pixel bounding-box size (e.g. "123x123) or inherent width (e.g. "123w"). `class`: The CSS classes to add to the image, e.g. "card-image". If lazyloading is enabled, all images will have the "lazyload" class so that lazysizes will target them automatically. `otherAttributes`: Any other HTML attributes you want on the img tag, for example "height='100' width='100'" `default_image`: The default image to use if `image` is undefined or falsy. Should be a theme asset, usually defined as a relative path in the theme config. If a default image is not provided, you'll get an image tag with no image if the primary image is undefined. `lqip_size`: If you want to specify a particular size for the LQIP image, you can do so with this argument. A default of 80 pixels wide will be used otherwise. This argument has no effect if the lazyload mode is not "lazyload+lqip". --}} {{image.alt}}