Tip Details Add a Related Tip

Rate as: Positive Negative

Creating webclip bookmark icons

With the latest release of the iPhone and iPod touch firmware, users can now save webclips (bookmarks) directly to the home page of their device. When they do this, an icon is shown that represents your webpage. If you like, you can control the icon that is shown using a mechanism that is similar to the favicon mechanism used in web pages.

First you need to create an icon, and it needs to be in the PNG format. Don't worry about the glass effect on the icon, the iPhone or iPod touch will add that. The icon will eventually get scaled to 57 x 57 pixels, so you should create an icon at least this big. If it's bigger, that is fine since the iPhone or iPod touch will scale it down. But you don't want them to scale the icon up in size since this usually leads to a pretty ugly looking icon.

Once the image is created, there are two options for delivery/notification. The easiest thing to do is to name the icon apple-touch-icon.png and put it in the root directory (same as the favicon file).

The second option is to add a line to the head section of your page that looks like so:

<link rel="apple-touch-icon" href="/path/file.png"/>

where you replace the contents in the href to match your file path and file name. This is a more generic mechanism more in keeping with the way that favicons are handled, but it does require you to add something to your page.
Rating: 100% positive, 1 Vote
Categories: iPhone iPod Touch web development
Added: on Jan 18, 2008 at 1:37 pm
Added By: an anonymous user

Comments on this Tip

Add a Comment
There are no comments for this tip
Your Comment:
(how to format)
Rate This Tip:

Verify Humanity:
Sorry, we know it's annoying, but please enter the characters shown in the image to the left so that we know you're an actual person and not an evil spammer. Thanks.
       

Related Tips

pairing record error on iPhone and iPod Touch

Categories: iPhone iPod Touch errors
50% positive, 1 comment - last added on Jun 02, 2008 at 8:35 am
– Tip added by songbird on Jan 24, 2008 at 8:04 am

Copy and Paste on the iPhone and iPod Touch

100% positive, 0 comments
– Tip added by an anonymous user on Mar 12, 2008 at 9:06 am

iPhone and iPod Touch wallpaper

100% positive, 0 comments
– Tip added by frida on Feb 21, 2008 at 6:43 am

Music controls on the iPod Touch and iPhone

100% positive, 0 comments
– Tip added by an anonymous user on Jun 26, 2008 at 8:35 am

iPhone and iPod Touch Maps

Categories: iPhone iPod Touch maps
100% positive, 0 comments
– Tip added by an anonymous user on May 20, 2008 at 7:12 am

Fix for syncing Safari bookmarks

100% positive, 0 comments
– Tip added by an anonymous user on Apr 29, 2008 at 4:42 pm

Theme your iPhone or iPod Touch

no ratings, 0 comments
– Tip added by an anonymous user on Apr 24, 2008 at 8:53 am

iPhone ordering at Starbucks

no ratings, 0 comments
– Tip added by an anonymous user on Jan 24, 2008 at 5:00 pm

Convert DVD Movie to iPod Touch

100% positive, 1 comment - last added on Jun 27, 2008 at 12:20 am
– Tip added by seashell on Jun 26, 2008 at 11:58 pm

free blackberry skins

100% positive, 0 comments
– Tip added by an anonymous user on May 29, 2008 at 7:43 am

Change the carrier name on your iPhone

50% positive, 0 comments
– Tip added by an anonymous user on Jun 25, 2008 at 1:34 pm

removing private data from an iPhone

Categories: iPhone security hack
100% positive, 0 comments
– Tip added by an anonymous user on Jun 23, 2008 at 12:45 pm

Read magazines on-line for free

100% positive, 0 comments
– Tip added by lemeur on Jun 16, 2008 at 3:04 pm

Fixing broken headphone jacks

100% positive, 0 comments
– Tip added by gracie on Jun 16, 2008 at 8:06 am

Typing on the iPhone

Categories: iPhone keyboard speed
100% positive, 0 comments
– Tip added by frida on Jun 12, 2008 at 4:41 pm

Using the iPhone headphone button

Categories: iPhone headphones ipod
100% positive, 0 comments
– Tip added by songbird on Jun 06, 2008 at 7:56 am

Problems with your website? You may need a dedicated server

50% positive, 0 comments
– Tip added by an anonymous user on Jun 02, 2008 at 9:35 am

How to Easily Install Joomla

100% positive, 0 comments
– Tip added by an anonymous user on May 29, 2008 at 4:07 pm

Easily set up Drupal on your website

100% positive, 0 comments
– Tip added by an anonymous user on May 27, 2008 at 4:07 pm

E-Commerce Web Site Development, London, UK

no ratings, 0 comments
– Tip added by obsgroup on Jun 12, 2008 at 5:15 am