Questions tagged [gravatar]

Gravatar (globally recognizable avatar) is a globally accessible avatar storage service, used, in particular, by StackOverflow.

Gravatar is a service, that stores unique user identifier pictures - "avatars". Stored avatar can be accessed through URL containing MD5 hash of user's e-mail. If supplied MD5 was not rcognized, service generates an unique image pattern for it.

This tag is appropriate for marking questions concerning Gravatar usage and structure (e.g. embedding Gravatar images into guestbook engine, etc)

See also:

234 questions
5
votes
2 answers

upload picture through external website to gravatar profile

I was wondering if it is possible to create an upload function to upload picture through my own site to the gravatar site?
Lynn Chang
  • 79
  • 1
  • 4
5
votes
2 answers

Rails Gravatar Helper Method

I have gone through this railscast on Gravatars and i now have the below helper method in my application helper. module ApplicationHelper def avatar_url(user) gravatar_id = Digest::MD5.hexdigest(user.email.downcase) …
Ollie2619
  • 1,255
  • 4
  • 17
  • 28
5
votes
8 answers

Check for valid gravatar (PHP)

I'm pretty new to PHP, so if you have any thoughts or suggestions to point me in the right direction, I'd be grateful. Trying to make a simple function to check if a user's email address translates into a valid Gravatar Image, but it seems…
Jeff
  • 5,962
  • 16
  • 49
  • 81
4
votes
1 answer

how to show facebook and twitter user profile image on my website's comments

I am showing Gravatar's Avatar on my webpage comments like that $hash = md5(trim($row['email'])); $default_usr =…
user1008545
4
votes
2 answers

How do you have a default Gravatar that is external and that actually resizes properly?

To implement Gravatar in my Rails3 application, I'm using the gravatar_image_tag gem in a helper, but I'm having issues when mixing 2 config options: If the user doesn't have a gravatar attached to his email a default image is rendered; but I want…
Marius Butuc
  • 17,781
  • 22
  • 77
  • 111
4
votes
6 answers

Generate random 1000 profile pictures

I'm trying to create 1000 random profile pics of people defined by demographics. e.g : 85% Women, aged - 20 - 29 , Nationality : American and so on... Does anyone know any services that'll do this for me? If not does anyone have any good ideas on…
4
votes
2 answers

Obtaining a Gravatar API key

Does anyone know how to obtain a Gravatar API key? I've seen countless examples and tutorials for Gravatar that mention simply using your key, but I haven't been able to find out how to get one. As far as I can tell, there doesn't seem to be a way…
rynojvr
  • 567
  • 2
  • 5
  • 17
4
votes
4 answers

Gravatar image not displaying although URI correct - Ruby on Rails

I'm working through the Michael Hartl Rails Tutorial and I'm getting a weird problem with the 'adding a Gravatar' section. I've checked the code against another implementation of a Gravatar in Rails I did for a different tutorial and don't see…
Alex Lynham
  • 1,318
  • 2
  • 11
  • 29
4
votes
2 answers

how to add image to ::before pseudo element in css3

I have an anchor with a data-avatar url that points to an image and I want to add a block image to a.avatar::before to show the image. a[data-avatar]::before { content: ""; background: url( attr(data-avatar url) ) no-repeat 0 0; width:…
chovy
  • 72,281
  • 52
  • 227
  • 295
4
votes
2 answers

php check if gravatar exists header error

I'm trying to check if a gravatar exists. When I try the approach recommended in earlier questions, I get an error " Warning: get_headers() [function.get-headers]: This function may only be used against URLs" Anyone seen this or see the error in…
user1260310
  • 2,229
  • 9
  • 49
  • 67
3
votes
3 answers

Is there a Gravatar signup link to pre-populate the user's email address?

I would expect something like this to work http://en.gravatar.com/site/signup?email=user%40example.com To avoid the user having to retype their email.
Mongo
  • 31
  • 2
3
votes
2 answers

Change picture in gravatar — url with desired email

I want to put this under "change picture" action url on the user profile. To limit possible mistakes, I would like to provide an email user used in the profile (thus used in the picture url) so they wouldn't have to while registering to Gravatar…
Janusz Skonieczny
  • 17,642
  • 11
  • 55
  • 63
3
votes
2 answers

Unicode-objects must be encoded before hashing

I want to use gravatar on django: import hashlib import urllib from django import template from django.utils.safestring import mark_safe register = template.Library() # return only the URL of the gravatar # TEMPLATE USE: {{…
shahab kamali
  • 331
  • 4
  • 16
3
votes
6 answers

ruby on rails gravatar_image_tag

I am following the railstutorial.org tutorial. While I am able to see the gravatar on the webpage, my rspec test is failing. Here is the user_controller_spec.rb test: describe "GET 'show'" do before(:each) do @user = Factory(:user) end …
sizzle
  • 2,222
  • 2
  • 21
  • 32
3
votes
2 answers

How To Get URL To Post Author's User BuddyPress Avatar Inside Wordpress Post Loop

The Question How to get just the URL to a post author's avatar? The Requirements I want the url to the image that is hosted on my website. Image will be called in the loop of a post. The author of the post is the person whose avatar image I wish to…
Hastig Zusammenstellen
  • 4,286
  • 3
  • 32
  • 45
1 2
3
15 16