WordPress generates IMG tag without width/height attributes for *.svgz images (tested both in Theme Twenty Twenty-Four and in production Theme Avada).
SVG was allowed at the website couple years ago, so I don’t remember how it exactly was allowed.
Today I’ve tried with newly installed and activated plugin https://wordpress.org/plugins/safe-svg/ but it currently also doesn’t handle SVGZ as I need ( https://wordpress.org/support/topic/ability-to-retrieve-dimensions-not-only-from-svg-but-also-from-svgz/ )
The SVG image has 29kB while SVGZ has 10kB. It seems to me innefficient to configure server to compress SVG on every request, if already compressed CVGZ could be uploaded into Media Library.
Please, could you allow and fully support SVGZ images directly in WordPress Media Library (without the need to use any plugin or theme customization)?
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.