Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 10, 2016, 08:27:21 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Publishers Can Customize iPhone Webclip  (Read 4264 times)

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,092
    • View Profile
    • Donate to Member
Publishers Can Customize iPhone Webclip
« on: January 17, 2008, 05:16:03 AM »
Copyright © 2008 CyberNet:
Quote
Publishers Can Customize iPhone Webclip Icons

Posted: 16 Jan 2008 02:21 PM CST

Cybernet iPhone Icon

One of the big peeves that I had with the new iPhone and iPod Touch firmware update yesterday was that Apple doesn’t give much control over the webclip icons. That’s when you bookmark a website to the home screen, and the iPhone snaps a screenshot of the upper-left corner of the screen to assign as the icon.

As it turns out Apple also made a way for website publishers to customize the icon that gets used, and as you can see in the screenshot it works pretty well. I highly recommend that all website publisher take a few seconds to make their icon look pretty.

How do you do it? Create a PNG image (recommended 57×57 pixels), name it apple-touch-icon.png, and then throw it in the website’s root folder. You can also get a little more technical by adding a “link” attribute to the <head> portion of your site:

<link rel="apple-touch-icon" href="/imgs/apple-cybernet.png" />

cybernet-iphone-icon.png

Using this method you can place the icon in any directory you want. A larger image can be used if you so desire, and the iPhone will scale it down as needed. It should also work with other file formats, such as JPEG, but I didn’t test them all.

The only thing you need to watch out for is the clipping that Apple does to the icons. It’s really a matter of playing with it, but generally it looks like the iPhone shaves a few pixels off of each side for the icons. And don’t forget that the corners are automatically rounded in addition to the uncontrollable glassy appearance.

Now I’m just keeping my fingers crossed that more websites will catch on to this, because I love bookmarking the sites onto my home screen!

Apple Developer Center [via TUAW]

Copyright © 2008 CyberNet |

- seems like an easy way to further enhance DC's appeal?
« Last Edit: January 17, 2008, 05:19:37 AM by Curt »

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: Publishers Can Customize iPhone Webclip
« Reply #1 on: January 17, 2008, 11:43:49 AM »
"link"? Now that's a descriptive attibute name. Sure has everything to do with what that attribute is intended to contain...

I think that if apple decided not to use favicon nor let poeple custumize the icon, that's their fault, and it shouldn't be everyone else's responsibility to fix their error.

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,092
    • View Profile
    • Donate to Member
Re: Publishers Can Customize iPhone Webclip
« Reply #2 on: January 17, 2008, 12:51:20 PM »
How do you do it? Create a PNG image (recommended 57×57 pixels), name it apple-touch-icon.png, and then throw it in the website’s root folder. You can also get a little more technical by adding a “link” attribute to the <head> portion of your site: <link rel="apple-touch-icon" href="/imgs/apple-cybernet.png" />

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: Publishers Can Customize iPhone Webclip
« Reply #3 on: January 17, 2008, 01:05:22 PM »
That's not what i meant, curt. I understood it was an option, but that doesn't change the fact that it's a stupid atribute name.

What i complained what that they want website designers to work for them because they didn't feel like adding a "configure this link" option.

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,092
    • View Profile
    • Donate to Member
Re: Publishers Can Customize iPhone Webclip
« Reply #4 on: January 17, 2008, 01:24:31 PM »
Ohh, I see. Them lazy donkeys!

Anyway, I merely imagined this would look 'nice' if anyone visited our site via their iPhone.

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: Publishers Can Customize iPhone Webclip
« Reply #5 on: January 17, 2008, 01:38:04 PM »
That's the part i don't like, curt. I also think we should add that image, even though it feels like "selling out" to apple's demands...

Notice that i think you did well in posting this, i just got mad at apple!

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,092
    • View Profile
    • Donate to Member
Re: Publishers Can Customize iPhone Webclip
« Reply #6 on: January 17, 2008, 01:46:57 PM »
 :D thanks for the notice! 

This reminds me that 'we' need a smiley drying off the sweat in a "whew! boy, am I relieved. That was close!" manner.