Create your own iPhone Web site home screen icon
1 - Create your icon as a 45 x 45 pixel image (You don't have to worry about the rounded edges or beveled look as the interface will add that for you). The only thing that happened with mine was that I had to put the text 2-3 pixels above center and made it a little smaller than I thought I would have to for it to appear in the middle of the home screen icon.
2 - In Photoshop go to 'Save for Web & Devices'. Set the file format as PNG-8 and turn off transparency.
3 - The file HAS TO BE saved as apple-touch-icon.png. If you call it anything but this it will not work.
There are then two options for uploading this to your site
If you can access the root level of your site all you have to do is upload the file to the root level and the phone will find and use it.
If you can not access the root level or the content has to live in a sub-folder like this blog then add this like of code after the head tag in the HTML. you can use the href to specify where the image is located even if it is another folder or server.
(open bracket) link rel="apple-touch-icon" href="http://your URL here" / (close bracket)
It is that simple.
Labels: Great resource












0 Comments:
Post a Comment
<< Home