Page 1 of 1

Glitter Request - iOS Homescreen Icon

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

Re: Glitter Request - iOS Homescreen Icon

Posted: July 13th, 2016, 1:31 pm
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.

Re: Glitter Request - iOS Homescreen Icon

Posted: July 13th, 2016, 10:47 pm
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?

Re: Glitter Request - iOS Homescreen Icon

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