Jamroom Logo Jamroom 5 Core
is now Open Source!
Follow Jamroom on Twitter!

{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 125 of 171 {jr_html_ad}
Solutions Products Support Community Company
Social Media Platform
Social Networking Software
Musician Website Manager
Community Builder
Jamroom 5
Jamroom 5 Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2024 The Jamroom Network