Glitter Request - iOS Homescreen Icon

Got a neat new template? Share it here!
Post Reply
User avatar
DeM0B
Newbie
Newbie
Posts: 2
Joined: July 13th, 2016, 12:00 pm

Glitter Request - iOS Homescreen Icon

Post by DeM0B »

Would it be possible to add a small change to the template so that it gives a nice homescreen icon on iOS instead of the page preview?

All it would need is a square sabnzbd logo linking in 4 different sizes (60px, 72px, 114px, 144px) in the document head.

Code: Select all

<link rel="apple-touch-icon" href="touch-icon-iphone.png">
<link rel="apple-touch-icon" sizes="76x76" href="touch-icon-ipad.png">
<link rel="apple-touch-icon" sizes="120x120" href="touch-icon-iphone-retina.png">
<link rel="apple-touch-icon" sizes="152x152" href="touch-icon-ipad-retina.png">
More documentation is available here.

It'd make the homescreen bookmark look much nicer than it currently does:

Image
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Glitter Request - iOS Homescreen Icon

Post by safihre »

That's always been in there. I just tested it and it works perfectly on my iPad when I do Add to homescreen.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
inpheaux
Administrator
Administrator
Posts: 563
Joined: January 16th, 2008, 9:14 pm

Re: Glitter Request - iOS Homescreen Icon

Post by inpheaux »

Yep, it's right there:

https://github.com/sabnzbd/sabnzbd/blob ... pl#L28-L31

What version of iOS are you testing on, DeM0B?
User avatar
DeM0B
Newbie
Newbie
Posts: 2
Joined: July 13th, 2016, 12:00 pm

Re: Glitter Request - iOS Homescreen Icon

Post by DeM0B »

I've been able to test on a couple of different iPhones and it doesn't work on a 5S (9.0.2) or a 6 (9.3.2).

I have also however used another PC to install sabnzbd and that works correctly with the home screen icons, so it looks like there's something not right with my original installation (via a FreeNAS plugin). I don't want to have to reconfigure/reinstall that, so I'll just have to put up with not having the icon for now. The FreeNAS sabnzbd does have the touch-icon-links in the page source though, and they point correctly to the images so I am at a loss to why it doesn't work.
Post Reply