When replacing an image via the asset manager, I have a requirement where I need to input multiple sizes of images for responsive optimisation. Any guidance on defining srcSet attributes or picture?
Hi,
overwrite IMAGE component. Add listen on SRC and when changed it generate srcset attribute.
Before that when you upload image should generate 1x and 2x version.
@lewishealey you have also the option to change the assets manager behavior; checkout #2516 comment
Cheers!
Most helpful comment
Hi,
overwrite IMAGE component. Add listen on SRC and when changed it generate srcset attribute.
Before that when you upload image should generate 1x and 2x version.