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

Profile Variables - Calendar Templates Index Profile Variables - Radio Templates

Photo Information Variables

Variable Replacement Description
{$PHOTO_COUNT} The total number of photos (that are not hidden) for this artist
{$PHOTO_RANK} The number of the photo as it appears on the output page (i.e. 3).
{$PHOTO_ID} The Jamroom Photo ID number (i.e. 12)
{$PHOTO_TIME} The Epoch Time the photo was uploaded.
{$PHOTO_DATE1} The Date the photo was uploaded formatted to Jamroom Config “Date Format” 1.
{$PHOTO_DATE2} The Date the photo was uploaded formatted to Jamroom Config “Date Format” 2.
{$PHOTO_DATE3} The Date the photo was uploaded formatted to Jamroom Config “Date Format” 3.
{$PHOTO_NAME} The File Name of the photo.
{$PHOTO_TYPE} The Mime-Type of photo (i.e. image/jpeg).
{$PHOTO_SIZE} The Size (in bytes) of the Photo File.
{$PHOTO_EXTENSION} The File Name extension of the photo (i.e. jpg).
{$PHOTO_SHOW} yes/no whether the photo is shown on the output.
{$PHOTO_TITLE} The Title of the Photo as entered in the form.
{$PHOTO_CREDITS} The Credits for the Photo as entered in the form.
{$PHOTO_CAPTION} The Caption of the Photo as entered in the form.
{$PHOTO_IMAGE} ink to show this Photo’s image via image.php, i.e: http://server/jamroom/image.php?band_id=1&photo_id=1&mode=photo_image
{$PHOTO_IMAGE_GD} link for displaying the Photo image, and having it resized via Jamroom’s built-in GD functions 1), i.e: image.php?band_id=1&event_id=1&mode=calendar_image&width=xxx&height=xxx
{$PHOTO_CATEGORY_FILE_NAME} The Photo Category, formatted to link to the {PHOTO_CATEGORY} Output File Name Variable.

Photo Output File Name Variables

Variable Replacement Description
{$PHOTO_ID} The Jamroom Photo ID number (i.e. 12)
{$PHOTO_CATEGORY} The Category of the Photo
{$PHOTO_EXTENSION} The extension of the photo (i.e. jpg)

1) Note that the image will be cached allowing for it to display much faster on subsequent requests for the same image in the same size

Profile Variables - Calendar Templates page 158 of 171 Profile Variables - Radio Templates
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