Member Sign In
Not a member?

A Wired.com user account lets you create, edit and comment on Webmonkey articles. You will also be able to contribute to the Wired How-To Wiki and comment on news stories at Wired.com.


It's fast and free.

Webmonkey is a property of Wired Digital.
processing...
Join Webmonkey

Please send me occasional e-mail updates about new features and special offers from Wired/Webmonkey.
Yes No

Please send occasional e-mail offers from Wired/Webmonkey affiliated web sites and publications, and carefully selected companies.
Yes No

I understand and agree that registration on or use of this site constitutes agreement to Webmonkey's User Agreement and Privacy Policy.
Webmonkey is a property of Wired Digital.
processing...

Retrieve Sign In

Please enter your e-mail address or username below. Your username and password will be sent to the e-mail address you provided us.

or
Webmonkey is a property of Wired Digital.
processing...

Welcome to Webmonkey

A private profile page has been created for you.
As a member of Webmonkey, you can now:
  • edit articles
  • add to the code library
  • design and write a tutorial
  • comment on any Webmonkey article
Close
Webmonkey is a property of Wired Digital.

Sign In Information Sent

An e-mail has been sent to the e-mail address registered in this account.
If you cannot find it in your in-box, please check your bulk or junk folders.
Sign In
Webmonkey is a property of Wired Digital.

Pimp Your Website With a Custom iPhone Icon

iphone.jpgTuesday’s Macworld event saw the introduction of a few new features for the iPhone, including the ability to save a web page as a “webclip” which will then be available on your iPhone’s main application screen.

A webclip is simply a direct link to the site in question and, in adding it to the main iPhone menu, you’re essentially just adding a bookmark that’s accessible outside Safari. Not exactly groundbreaking, but a nice feature nevertheless.

By default the iPhone will try to create an icon based on the look of the site you’re clipping. In some cases that will do the trick, however if you’d like to create a nice custom icon for users bookmarking your site as an “application” on their iPhone Dan Dickinson has figured out how to do it.

The iPhone apparently uses a link tag in the page’s header to locate a suitable image and then falls back on its own creation powers if that fails. So the trick is to create an icon and then point to it with a link tag like this:

<head>
<title>iHelloWorld</title>
<link rel="apple-touch-icon" href="/myicon.jpg"/>
</head>

For the finer points, check out Apple’s documentation over at the iPhone Dev Center.

After some experimenting from Nathan Borror and others it would seem that making a 158×158 pixel icon and then letting the iPhone shrink it to the default 57X57 pixel size results in the best resolution. Keep in mind though that some clipping occurs so you really only have a roughly 47×47 pixel working area.

[via Jon Hicks]

See Also:

Post Comment Comments Permalink Print
Reddit Digg

 
Subscribe now

Special Offer For Webmonkey Users

WIRED magazine:
The first word on how technology is changing our world.

Subscribe for just $10 a year