Carousel 2x workaround – is this OK?

Hi @undavide welcome back,

You can use img + srcset along with the size attribute:

Or since Blocs is already using lazySizes.js you could use its inherent abilities alternatively:


EDIT: I forgot our conversion from … a year ago (thread from 2 years ago).

@norm, yes support directly built into the carousel brics by default would be nicer though. :wink:

3 Likes