Skip to content
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.

Include an option for users to select Gravatar as a profile image #4

Open
DevChive opened this issue Nov 6, 2012 · 0 comments
Open

Comments

@DevChive
Copy link
Member

DevChive commented Nov 6, 2012

I would like to be able to see my profile image pulled from Gravatar so we can keep resources low and users can have universal image used.

Gravatar is linked by email address and sizes can be modified in the url params like so:

URL example:
$grav_url = "http://www.gravatar.com/avatar/" . md5( strtolower( trim( $email ) ) ) . "?d=" . urlencode( $default ) . "&s=" . $size;

Source Example:
http://en.gravatar.com/site/implement/images/php/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant