Skip to main content

Can't get auto-resizing to work, I must be missing something fundamental..


1 comment

  • Nadav Ofir

    Hi Gregory,

    The reason automatic responsive mechanism doesn't work here is that the client-hints are not being sent along with the request for the image.

    To fix this, you must make sure to add the 'sizes' attribute to the HTML <img> tag (e.g.: sizes="50vw")

    Does this work for you?


Post is closed for comments.