[OpenID] Profile image sizes

Chris Messina chris.messina at gmail.com
Mon Apr 23 17:05:27 UTC 2007


I agree, Simon, a retract that part of my suggestion.

I'll be writing up more about this soon, but i'm leaning towards
something that works with the existing hcard microformat:

<span class="vcard"><a href="http://link.to/images/avatar.png"
rel="avatar"><img src="http://link.to/images/avatar_thumb.png"
alt="Avatar for Chris Messina" title="Chris Messina" class="photo
fn"/></a></span>

Generally the idea is that you'd still use the hcard photo object as
the avatar, but if there is a link to a full size image denoted by
rel="avatar" on someone's default hcard or profile page, then defer to
that image.

How does that sound? That therefore allows the avatar file to exist
anywhere and be any type of file (which I agree is important) and also
allows for the use of a URI designation for the avatar instead of some
made-up convention (as Martin also pointed out).

Chris

On 4/23/07, Simon Willison <simon at simonwillison.net> wrote:
> On 4/22/07, Chris Messina <chris.messina at gmail.com> wrote:
> > SO, here's what I recommend:
> >
> > * Inherit as much as you can from the vcard standard. It's already
> > been figured out, and with hcard, has been converted to an
> > HTML-format.
> > * Push a naming convention like http://tld.com/avatar.jpg just like
> > http://tld.com/favicon.ico is the standard for Favicons.
>
> I'm strongly against the naming convention, for a bunch of reasons.
> Firstly, it limits people to just using .jpg avatars when .png or .gif
> make perfectly valid alternatives. Secondly, it doesn't work for
> people who's OpenID is in a subdirectory as opposed to owning their
> own domain / subdomain. Thirdly, naming convention URLs are just plain
> nasty - they encourage people to check the same place on lots of
> different servers, which fills log files with 404 errors. More
> arguments here:
> http://microformats.org/discuss/mail/microformats-discuss/2006-October/006469.html
>


-- 
Chris Messina
Citizen Provocateur &
  Open Source Ambassador-at-Large
Work: http://citizenagency.com
Blog: http://factoryjoe.com/blog
Cell: 412 225-1051
Skype: factoryjoe
This email is:   [ ] bloggable    [X] ask first   [ ] private



More information about the general mailing list