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 » July 13th, 2016, 12:10 pm

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: 2967
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: Glitter Request - iOS Homescreen Icon

Post by safihre » July 13th, 2016, 1:31 pm

That's always been in there. I just tested it and it works perfectly on my iPad when I do Add to homescreen.

User avatar
inpheaux
Administrator
Administrator
Posts: 730
Joined: January 16th, 2008, 9:14 pm

Re: Glitter Request - iOS Homescreen Icon

Post by inpheaux » July 13th, 2016, 10:47 pm

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 » July 14th, 2016, 9:17 am

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