Better Image Detection

By

| Updated

Just a quick note on a subtle improvement…

In the past when you have uploaded an image to gravatar.com that was not a png, jpeg, or gif, we presented you with a big fat error page (which nobody, ourselves included, likes to see.)  So as of now we do some back end trickery to attempt to get any image you try to use into a format that we can handle.  It wont work with every possible image type, but most of the really commonly attempted ones should be handled (such as svg, bmp, and tif!)

Happy uploading!



32 responses

  1. Retodon8 Avatar

    Nimd4, I take it you’re not talking about your Quake III Gravatar, which looks fine here. Could you show the one that doesn’t work?
    Btw, apokalyptik already mentioned it, but, I wouldn’t suggest a tiny 80^2 image in a 512^2 canvas. Normally Gravatars are shown smaller than that, meaning your actual subject would be just a speck most of the time.

    wcraigtrader, Gravatars are probably square because squares are easiest to implement in any site design.
    why would you even want to add padding to your Gravatar? Adding padding actually means removing image detail, since you overwrite it with black bars (or similar).
    I guess you want transparent bars to fake non-square Gravatars, but as nice as the cropping tool is, it’s “just” a cropping tool, not an image editor. It’s nice and simple to use now; not a good idea to complicate it for a feature I haven’t heard anybody else request.

    Like

  2. M Avatar
    M

    Everytime I try to sign in, I enter the fields, press the button, and nothing happens. Anyone have a solution?

    Like

  3. Foundation Network Ltd Avatar

    Is it possible to display my Gravatar on Trackbacks as well? Most WordPress.com blogs display my Gravatar when I comment directly on another blog, but when I send a trackback an anonymous image is displayed.

    Like

  4. G0nd0 Avatar
    G0nd0

    Congratulations on supporting more formats!!!!

    Like

  5. wcraigtrader Avatar
    wcraigtrader

    Congratulations on supporting more formats.

    I’ve just started using Gravatar, and the first thing I noticed was that it insists on square avatars and doesn’t give you the option of padding your images out to square, only cropping them down to square. What’s up with that?

    Like

  6. nimd4 Avatar
    nimd4

    ..doesn’t seem possible to edit previous comments; the problem occurs with transparent PNGs only.

    Like

  7. nimd4 Avatar
    nimd4

    apokalyptik I did – and – nothing!.. the image comes out funky, although it’s an 80×80 on a 512×512 canvas; something needs to be fixed here, for gravatar to even (actually) work…

    Like

  8. Elad Avatar

    Hi,
    Any update about the jpg extention issue?

    Like

  9. apokalyptik Avatar

    @cubesteak – For best results make a 512×512 pixel image with just the subject inside. Upload to gravatar, and expand the cropper box to encompass the entire image. That will give you the absolute best quality for your gravatar.

    Like

  10. Omarm Avatar
    Omarm

    no..image

    Like

  11. cubesteak Avatar

    As a small aside to this – what is the optimum size of graphic to upload? I have seen that the images get kinda pixelated and wondered if this was just a necessary evil, or if there was something that I could on my end to mitigate against that.

    Thanks much for such a great service! 🙂

    Cheers,
    CS

    Like

  12. hfrmobile Avatar

    What the f… is .svg 😉

    Like

  13. mikael Avatar
    mikael

    @amolpatil2k: Did you read the same news post? They just added support to convert your images in other formats, they didn’t remove it. 🙂 Good job!

    Like

  14. Bert Avatar

    Good news 😉

    Like

  15. Thunderm00n Avatar

    @apokalyptik
    Thanks for your answer, just wonderin`where my post have been gone^^You`r right, many people doen`t like animated avatars but many do like them, so its kind of everybodys own choise. I can understand you choise, really. Was just a question 😉

    Keep on, you`r doing well

    Like

  16. Omarm Avatar

    tengkiau..!!!tengkiu…oh!oh!oh

    Like

  17. […] Gravatar, being the only of these services whose sole purpose is to serve icons, does just about everything you’d want. It maintains transparent areas in PNGs, provides a tool to crop to their square shape (80px and 32px), and lets you store more than one image. Gravatar serves icons for WordPress.com, many WordPress-powered sites, Disqus, and probably a bunch of other sites and services. Update 20080903: Gravatar should now work with a few more image types. […]

    Like

  18. ChaosKaizer Avatar

    Nice experiment guys. Should just stick with common jpg/png images type.

    Like

  19. Dougal Avatar

    Sample image sent! I just converted the TIFF to a JPG on my end and re-uploaded. But maybe you can figure out what it didn’t like and fix it for the next person who might have the problem.

    Like

  20. Geakz Avatar

    Keep up the good work. Your efforts are appreciated by the blogging community – if I may be so bold to say.

    Like

  21. avtorentacar Avatar
    avtorentacar

    This sounds nice, it will help to the non-technical users to upload an image

    Like

  22. apokalyptik Avatar

    @Dougal — I just sent over an email asking for some examples, I’ll see what I can do when you send them over…

    @Elad — Wow! talk about attention to detail. I’ll have this fixed shortly. Though it will take a while for all the in-cache images to expire and the change to be globally recognizable. But it’ll happen

    @Thunderm00n — It was a conscious choice not to accept animated images. On the whole most people don’t like them, and it can seriously detract from the look and feel of a site. Since we (all) are guests on peoples web pages we do our best to play nice with the other kids while we are there.

    Like

  23. amolpatil2k Avatar
    amolpatil2k

    Frankly this is a shock to me. If images are your mainstay, how can you be so backward (for lack of a better word) in dealing with various formats.

    Like

  24. Thunderm00n Avatar

    Hey there!
    Nice work, but why don`t you accept moving gifs or why we have to resize our avartas (just use a type of width and height attribute, min-height/width should be 80px max-height/width should be 120px)

    but its a great work. Keep on!

    Like

  25. Dougal Avatar

    I just tried uploading some TIFF images out of iPhoto/PhotoBooth, but it didn’t accept them. :-/

    Like

  26. yorgyb Avatar

    Congrats on the improvement…..

    Like

  27. akın Avatar
    akın

    kumluca radyo asta yabancı yayın yapıyorum…

    Like

  28. Omarm Avatar

    mana gambar.. tak kuar lagi….

    Like

  29. Omarm Avatar

    hai!!!my jodoh… bila nak jumper jodoh… carik jgn xcari….

    Like

  30. Elad Avatar

    Opps, forgot to give the example.

    Like

  31. Elad Avatar

    Hi,
    When the default is set to ‘identicon’ and a ‘jpg’ file extension is used, a ‘png’ file is returned and not a ‘jpg’ one.

    Thanks 🙂

    Like

  32. CPU-7990 Avatar

    Не думаю, что это уж такая большая проблема для пользователя – перед загрузкой “перегнать” картинку из одного формата в другой. Хотя, конечно для новичков – это должно облегчить жизнь. 🙂

    Like

Blog at WordPress.com.