"photo" Template Items
Previous  Top  Next

Variables
 
·allow_comments  
A boolean variable that is true if comments are allowed for the photo.  
 
·allow_trackbacks  
A boolean variable that is true if trackbacks are allowed for this photo.  
 
·author  
A string variable containing the name of the photo's author.  
 
·author_url  
A string variable containing the name of the photo's author.  
 
·body  
A string variable containing the body of the photo.  
 
·can_post  
A boolean variable that is true if the reader is allowed to post a comment in reply to this photo.  
 
·excerpt  
A string variable containing the excerpt of the photo.  
 
·fullsize_photo.url  
A string variable containing the URL for the fullsize photo.  
 
·next_photo.title  
A string variable containing the title of the photo in the current category that comes chronologically after this one.  
 
·next_photo.url  
A string variable containing the URL of the individual page for the photo in the current category that comes chronologically after this one.  
 
·num_comments  
An integer variable containing the number of comments posted in response to the photo.  
 
·num_trackbacks  
An integer variable containing the number of trackbacks for this photo.  
 
·permalink_url  
A string variable containing the URL to the "permalink page" or "individual page" for this photo.  
 
·photo_breadcrumbs  
A boolean variable that is true if there is a previous or next photo in the current category.  
 
·post_reply_url  
A string variable containing the URL to the "comment page" for this photo.  
 
·prev_photo.title  
A string variable containing the title of the photo in the current category that comes chronologically before this one.  
 
·prev_photo.url  
A string variable containing the URL of the individual page for the photo in the current category that comes chronologically after this one.  
 
·publish_time  
A string variable containing the time (in 12-hour clock format) when the photo was published.  
 
·publish_time.24hour  
A string variable containing the hour (in 24-hour clock format) when the photo was published.  
 
·publish_time.ampm  
A string variable containing "AM" if the photo was posted between 00:00 and 11:59 inclusive and "PM" if the photo was posted between 12:00 and 23:59 inclusive.  
 
·publish_time.day  
A string variable containing the day of the month when the photo was published.  
 
·publish_time.day_name  
A string variable containing the name of the day of the week when the photo was published.  
 
·publish_time.day_name_short  
A string variable containing the abbreviated name of the month when the photo was published.  
 
·publish_time.hour  
A string variable containing the hour (in 12-hour clock format) when the photo was published.  
 
·publish_time.min  
A string variable containing the minute when the photo was published.  
 
·publish_time.month  
A string variable containing the number of the month when the photo was published.  
 
·publish_time.month_name  
A string variable containing the name of the month when the photo was published.  
 
·publish_time.month_name_short  
A string variable containing the abbreviated name of the month when the photo was published.publish_time.sec  
 
·publish_time.sec  
A string variable containing the second when the photo was published.  
 
·publish_time.year  
A string variable containing the year when the photo was published.  
 
·publish_time.zone  
A string variable containing the standardized abbreviation for the timezone set for the photo.  
 
·restricted  
A boolean variable that is true if the photo was posted into a restricted category.  
 
·sized_photo_height  
An integer variable containing the height of the sized photo in pixels.  
 
·sized_photo_url  
A string variable containing the URL for the sized photo.  
 
·sized_photo_width  
An integer variable containing the width of the sized photo in pixels.  
 
·title  
A string variable containing the title of the photo.  
 
·trackback_rdf  
A string variable containing trackback RDF information.  
 
·trackback_url  
A string variable containing the trackback URL for the photo.  
 
·view_url  
A string variable containing the URL for this photo.  



Loops

·photo.categories  
A loop that iterates through all the categories under which the photo was posted.  
 
·breadcrumb  
A loop that iterates through all the categories from the Main Page down to the photo's category.  



Template Files

·comments.html  
The template file that displays all the comments posted in response to the photo.  
 
·post_comment_inline.html  
The template file that displays a Post Comment form.  
 
·trackbacks.html  
The template file that displays all the trackbacks for the photo.