In the media manager add "svg" to supported file extensions and "image/svg+xml" to the allowed mime types both.
Now go to System > templates > site template styles > Cassiopeia - Default
Upload an SVG as the logo
SVG URL and logo loaded
Logo loads but this URL arrives
/images/brand-assets/lovelaser_logo_sr.svg#joomlaImage://local-images/brand-assets/lovelaser_logo_sr.svg?width=0&height=0
systeminfo-2021-12-23T12_28_24+00_00.txt
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
and nothing to do with svg
Thanks both, am closing
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-12-24 10:51:36 |
Closed_By | ⇒ | uglyeoin |
Expected. J4 media fields values hold also the data for the width and height of the images and also the Adapter + path.
There's this PR #35780 and once it's merged you can pass ALL your media fields output through the layout to have a clean output. It needs 2 tests...