Comments jk started the conversationMay 2, 2020 at 9:11amis it somehow possible to get a full srcset when using {{item.image_width}} ? Max replied privatelyjk repliedMay 4, 2020 at 1:30pmwhen i use <img width="{{item.image_width}}" height="{{item.image_height}}" src="{{item.image}}"> i get this in compiled code: <img width="1200" height="800" src="path/to/image.jpg"> but i would like to get a scrset like: <img width="693" height="693" src=" path/to/image.jpg" srcset="path/to/image.jpg 693w, path/to/image-300x300.jpg 300w, path/to/image-150x150.jpg 150w" sizes="(max-width: 693px) 100vw, 693px"> to deliver different image sizes to different devices... Max replied privately Sign in to reply ...
is it somehow possible to get a full srcset when using {{item.image_width}} ?
when i use
i get this in compiled code:
but i would like to get a scrset like:
to deliver different image sizes to different devices...