I would like to preload responsive images in the header.
Is there a simple way to access the different urls for srcst in ‘$image->srcset()’ without the markup ?
<link rel="preload" as="image" href="<?= $image->url() ?>" imagesrcset=" " imagesizes=" ">