Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

embedded svg not displaying on mobile browser #314

tcdk started this conversation in Issues
Discussion options

Unfortunetly the inline svg's used on "Page Icon" links doesn't work well on mobile browsers based on chrome (I've tried chrome and DuckDuckGo). Here's screenshot from DuckDuckGo:

image

it's from my site https://twomasc.dk

I've added a twitter link in the page to demonstrate that the icon works fine, when it's a regular img file reference.

I haven't had a chance to test it, but a adding a xmlns:xlink="http://www.w3.org/1999/xlink" type may fix it from what I've been finding... https://stackoverflow.com/questions/41507360/svg-inlined-in-html-not-displayed-correctly-by-chrome

But I would rather suggest switching to use a file reference.. like the other links

You must be logged in to vote

Replies: 4 comments

Comment options

I can't reproduce this on any device using your provided link, regardless of the browser.

You must be logged in to vote
0 replies
Comment options

I have tried it on different devices with Chrome, Safari and Edge.
I was not able to recreate this either.

Can you check your Dev console ? maybe there is an error which can help us ?

You must be logged in to vote
0 replies
Comment options

I'm gonna move this one to discussions. Please let us know if there are any updates.

You must be logged in to vote
0 replies
Comment options

I figured it out! The embedded svg's are failing when the site is http://twomasc.dk , but are displayed in the ssl version at https://twomasc.dk (i guess they are deemed a security risk). This is both mobile and desktop chrome.

I can of course fix that with a .htaccess redirect, but maybe an option to redirect if the sites loads un-encrypted could be nice

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Converted from issue

This discussion was converted from issue #305 on February 02, 2023 00:24.

AltStyle によって変換されたページ (->オリジナル) /