HI all,
I have a site which has a full screen slider on the front page.
I have a bunch of portrait images to use on mobile, and a bunch of landcape images to use on desktop.
I’ve been looking for an extra to show a chunk based on the viewport width, but I can’t seem to find anything.
You can also use the srcset attribute on your img tag. This lets you use just one list of images instead of creating two different chunks. Something like:
This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.