Skip to main content

Use Gravatar to Display User’s Avatars with Posts

  • Chapter
  • First Online:
Java EE Web Application Primer

Abstract

An avatar is an image people use for their online identity. Gravatar is a free service for providing globally unique avatars. Gravatar allows users to register an account using their email address. Users then upload an image to be associated with their Gravatar account. When the user uses the same email address on a website that uses Gravatar, the website retrieves the user’s avatar from Gravatar by using an image URL based on a hash of the email address. Websites, including Bullhorn, may freely use Gravatar to display the user’s image. Bullhorn displays the image next to posts and on the profile page.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 24.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    The source code for the MD5 class in Bullhorn is derived from that found at http://en.gravatar.com/site/implement/images/java .

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Dave Wolf, A.J. Henley

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Wolf, D., Henley, A.J. (2017). Use Gravatar to Display User’s Avatars with Posts. In: Java EE Web Application Primer. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3195-1_19

Download citation

Publish with us

Policies and ethics