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
The svg's i am using do not contain width/height attributes - only the viewbox attribute and i did not set any important-part for them in the filemanager.
I would expect contao to just set the width and height on the <img> and not create additional svg's with contained width/height attributes.
Of course i could just use a different image-size without pixel-density descriptors but i have mixed filetypes in a gallery so that's not really an option.
The text was updated successfully, but these errors were encountered:
Issue by @asaage
April 10th, 2018, 15:56 GMT
i noticed that when i use image-sizes in combination with svg-images
additional svg's in the
srcset
are created underassets/images/
The svg's i am using do not contain
width/height
attributes - only theviewbox
attribute and i did not set anyimportant-part
for them in the filemanager.I would expect contao to just set the width and height on the
<img>
and not create additional svg's with contained width/height attributes.Of course i could just use a different image-size without pixel-density descriptors but i have mixed filetypes in a gallery so that's not really an option.
The text was updated successfully, but these errors were encountered: