I am trying to improve the LCP on my site. It was recommended that I can improve the image responsiveness with the following code:
srcset="
{{ section.settings.image | image_url: width: 375 }} 375w,
{{ section.settings.image | image_url: width: 550 }} 550w,
{{ section.settings.image | image_url: width: 750 }} 750w,
{{ section.settings.image | image_url: width: 800 }} 800w,
{{ section.settings.image | image_url: width: 900 }} 900w,
{{ section.settings.image | image_url: width: 1100 }} 1100w,
{{ section.settings.image | image_url: width: 1500 }} 1500w,
{{ section.settings.image | image_url: width: 1780 }} 1780w,
{{ section.settings.image | image_url: width: 2000 }} 2000w,
{{ section.settings.image | image_url: width: 3000 }} 3000w
"
sizes=“(min-width: 1000px) {{section.settings.desktop_width}}px, 100vw”
I don’t know what to do with that. Can anyone guide me or do it for me?


