Currently if you bookmark the Koha OPAC on a device like the iPad by adding it to your "home" screen, you get an icon that is a tiny screenshot of the page you bookmarked - not very pretty. Specifying a pretty icon is as simple as this: <link rel="apple-touch-icon" href="/custom_icon.png"/> And of course we have to add the actual icon. Despite the name, this is supposed to work for e.g. Android-based devices, not just Apple devices. It might be a good idea to have one icon for the OPAC and one for the intranet, like we do with the favicons. Docs: - http://developer.apple.com/library/ios/#DOCUMENTATION/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html - http://mathiasbynens.be/notes/touch-icons
This is a nice idea. I think in order to properly fix this bug we should also introduce new system preferences allowing libraries to specify a path to a custom icon (like OpacFavicon/IntranetFavicon).
(In reply to comment #1) > This is a nice idea. I think in order to properly fix this bug we should > also introduce new system preferences allowing libraries to specify a path > to a custom icon (like OpacFavicon/IntranetFavicon). Yeah, I was trhinking along the same lines. But I won't be able to take a shot at it for some time, so if anyone feels inspired, please don't hesitate to beat me to it! ;-)
(In reply to Magnus Enger from comment #2) > (In reply to comment #1) > Yeah, I was trhinking along the same lines. But I won't be able to take a > shot at it for some time, so if anyone feels inspired, please don't hesitate > to beat me to it! ;-) No one did so far, Magnus :)
Looks like this is still actual. Safari gets a 404 on favicon. It does not look at our regular link rel icon line. Couldnt we just add a link rel apple touch line and point them to our regular favicons ? Or is that too simple ?
(In reply to Marcel de Rooy from comment #4) > Looks like this is still actual. Safari gets a 404 on favicon. It does not > look at our regular link rel icon line. > Couldnt we just add a link rel apple touch line and point them to our > regular favicons ? Or is that too simple ? As I was reading through the comments, I was thinking that makes sense.
Created attachment 140034 [details] [review] Bug 8305: Added an icon for iOS home screen 1. Bookmark the Koha OPAC on an iOS device 2. See if an icon is formed on the home screen of the device
Created attachment 140340 [details] [review] Bug 8305: Added an icon for iOS home screen 1. Bookmark the Koha OPAC on an iOS device 2. See if an icon is formed on the home screen of the device Signed-off-by: Petro Vashchuk <stalkernoid@gmail.com>
Created attachment 140962 [details] [review] Bug 8305: Added an icon for iOS home screen 1. Bookmark the Koha OPAC on an iOS device 2. See if an icon is formed on the home screen of the device Signed-off-by: Petro Vashchuk <stalkernoid@gmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Pushed to master for 22.11. Nice work everyone, thanks!