- Issue created by @jennypanighetti
- π¬π§United Kingdom aaron.ferris
I can't seem to reproduce this
- D10.3
- Enable responsive image module
- Add an image field to the basic page content type
- Configure display for eager, select wide as the responsive image style
- Add a new basic page
- Upload an image
- Save
- View
Markup:
<img loading="eager" srcset="/sites/default/files/styles/max_325x325/public/2024-08/Screenshot%202024-08-02%20at%2011.16.50.png.webp?itok=_4W86-75 325w, /sites/default/files/styles/max_650x650/public/2024-08/Screenshot%202024-08-02%20at%2011.16.50.png.webp?itok=a4Mnthju 650w, /sites/default/files/styles/max_1300x1300/public/2024-08/Screenshot%202024-08-02%20at%2011.16.50.png.webp?itok=nUqIZ3U5 1300w, /sites/default/files/styles/max_2600x2600/public/2024-08/Screenshot%202024-08-02%20at%2011.16.50.png.webp?itok=ytOjpOFv 2600w" sizes="(min-width: 1290px) 1290px, 100vw" width="325" height="110" src="/sites/default/files/styles/max_325x325/public/2024-08/Screenshot%202024-08-02%20at%2011.16.50.png.webp?itok=_4W86-75" alt="alt text">
Am I missing a step?
- Status changed to Postponed: needs info
8 months ago 8:59pm 2 August 2024 Thank you for taking the time to test the steps to reproduce. I am updating the issue metadata based on that update.
- πΊπΈUnited States jennypanighetti
You're right, `svg_image_formatter` is somehow stripping this value in $attributes. I was getting an empty #attributes array when svg_image_formatter was enabled, but it correctly filled in the loading attribute when it was uninstalled -- even though I'm not using an SVG image.
I'll open an issue there (if there isn't one already), this can be closed.