Jamroom Logo
Newsletter
Member Spotlight
29812
Earner.net
"Jamroom was the obvious choice for the Earner.net framework, the API allowed us to bolt on custom facilities both quickly and efficiently. Stuff that you would never dream of seeing in a Jamroom site, and it's addictive!"
Follow Jamroom on Twitter!

This document applies to Jamroom 3 only!
For current Jamroom 4 Documentation, visit the main Jamroom Documentation section.

{jr_graph} Index {jr_html_ad}

{jr_gravatar}


The {jr_gravatar} template function is used to display a "Globally Recognized Avatar" for a user.  See the Gravatar website for information about Gravatar.

 

Parameters:

Name Type Required Default Description
email string yes n/a The "email" parameter should contain the Gravatar email address that is associated with the user's Gravatar account.
band_id number yes n/a The band_id parameter is required so Jamroom knows the band_id the image belongs to (it is also used to provide a "default" image in case the Gravatar image does not work or is not available).
user_id number no -1 The user_id parameter is required to associate the Gravatar image with a User
width number no n/a Width in pixels for the Gravatar image
alt string no n/a "alt" text for the Gravatar image
border number no 0 Width in pixels of the border around the Gravatar image
rating string no n/a Gravatar supports "ratings" of images that "rate" images based on their level of "explicit" content.  Available ratings are "G", "PG", "R" and "X".

 

Example:

Example embedding the {jr_gravatar} template function into a template:

{jr_gravatar email="support@jamroom.net" band_id="5" user_id="2" alt="Support Image" width="50" border="0" rating="PG"}

 


{jr_graph} page 153 of 185 {jr_html_ad}
Solutions Products Support Community Company
Social Media Platform
Social Networking Software
Musician Website Manager
Community Builder
Jamroom Core
Jamroom Addons
Jamroom Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2012 Talldude Networks, LLC.