You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm confused as to what's going on here too and I'm noticing the same behaviour. Everything seems to work fine but I always thought that the img width and height should match the current item in the srcsect to avoid layout shifts.
The full sized image from the OP is ignored anyway I'm pretty sure. The srcset overrides it before it's downloaded.
glide:width is not applied to the image src, it is included in original size.
{{ responsive:image glide:width="1600" }}
<picture>
<source ... >
<img alt="" src="/assets/image.jpg" width="2560" height="1430" data-statamic-responsive-images>
</picture>
Statamic 3.3.3 Pro
Laravel 8.83.5
PHP 8.1.2
spatie/statamic-responsive-images 2.11.0
Thanks!
The text was updated successfully, but these errors were encountered: