sforum
Active member
I want to make sure that my forum looks as good as possible when people add it to their home screen on their Apple iOS device, so was wondering how XenForo 1.3.5 handles apple-touch-icons?
Current advice on the Internet suggests creating 4 different PNGs as per this table:
One would then add the following to the HTML head:
<link href="http://www.yoursite.com/apple-touch-icon.png" rel="apple-touch-icon" />
<link href="http://www.yoursite.com/apple-touch-icon-76x76.png" rel="apple-touch-icon" sizes="76x76" />
<link href="http://www.yoursite.com/apple-touch-icon-120x120.png" rel="apple-touch-icon" sizes="120x120" />
<link href="http://www.yoursite.com/apple-touch-icon-152x152.png" rel="apple-touch-icon" sizes="152x152" />
Should I be doing this (e.g. adding the above code to PAGE_CONTAINER) for best results? Or if I add a single, high resolution PNG to styles/default/xenforo/logo.og.png is that enough, and XenForo will scale it appropriately depending on the device (e.g. if an iPad Retina user adds it to their home screen, they get a 152x152 icon)?
Thanks.
Current advice on the Internet suggests creating 4 different PNGs as per this table:
Code:
60×60 - iPhone / iPod
120×120 - iPhone / iPod Retina
76×76 - iPad
152×152 - iPad Retina
One would then add the following to the HTML head:
<link href="http://www.yoursite.com/apple-touch-icon.png" rel="apple-touch-icon" />
<link href="http://www.yoursite.com/apple-touch-icon-76x76.png" rel="apple-touch-icon" sizes="76x76" />
<link href="http://www.yoursite.com/apple-touch-icon-120x120.png" rel="apple-touch-icon" sizes="120x120" />
<link href="http://www.yoursite.com/apple-touch-icon-152x152.png" rel="apple-touch-icon" sizes="152x152" />
Should I be doing this (e.g. adding the above code to PAGE_CONTAINER) for best results? Or if I add a single, high resolution PNG to styles/default/xenforo/logo.og.png is that enough, and XenForo will scale it appropriately depending on the device (e.g. if an iPad Retina user adds it to their home screen, they get a 152x152 icon)?
Thanks.