No Code Attached Yet
avatar uglyeoin
uglyeoin
23 Dec 2021

Steps to reproduce the issue

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

Expected result

SVG URL and logo loaded

Actual result

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

System information (as much as possible)

systeminfo-2021-12-23T12_28_24+00_00.txt

Additional comments

avatar uglyeoin uglyeoin - open - 23 Dec 2021
avatar uglyeoin uglyeoin - change - 23 Dec 2021
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 23 Dec 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 Dec 2021
avatar dgrammatiko
dgrammatiko - comment - 23 Dec 2021

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...

avatar brianteeman
brianteeman - comment - 23 Dec 2021

and nothing to do with svg

avatar uglyeoin uglyeoin - close - 24 Dec 2021
avatar uglyeoin
uglyeoin - comment - 24 Dec 2021

Thanks both, am closing

avatar uglyeoin uglyeoin - change - 24 Dec 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-12-24 10:51:36
Closed_By uglyeoin

Add a Comment

Login with GitHub to post a comment