this post was submitted on 02 Jul 2023
49 points (98.0% liked)

wefwef

4219 readers
1 users here now

wefwef is now Voyager! Subscribe to [email protected].

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 1 year ago (1 children)

Tried to do this with no luck. How do I find the correct icon URL?

[โ€“] [email protected] 1 points 1 year ago

Maybe you have to have a url to the image, but you could just upload it to imgur und copy the link there. You can replace the icon url by searching for "apple-touch-icon" and changing the href property everywhere you see it to the image url.

Say you want to use this icon: https://i.imgur.com/kUxXoIA.png

You change this:

<link rel="apple-touch-icon" type="image/png" sizes="180x180" href="/favicons/apple-touch-icon-180.png">

to this:

<link rel="apple-touch-icon" type="image/png" sizes="180x180" href="https://i.imgur.com/kUxXoIA.png">

(and repeat this everywhere you see the "apple-touch-icon")