For more help, visit the WebGUI Community Wiki.
These template variables are shared by all views of the Photo asset.
- isPending
- A flag to set if the Photo is not yet approved. Users who can edit the photo are allowed to see them before they are approved.
- canComment
- This is true if the current user can comment on this photo.
- canEdit
- This is true if the current user can edit this photo.
- fileUrl
- The URL to the normal-sized photo.
- numberOfComments
- The total number of comments on this photo.
- ownerUsername
- The username of the user who posted this photo.
- ownerAlias
- The alias of the user who posted this photo. Defaults to the username if not available.
- ownerId
- The Id of the user who posted this photo.
- ownerProfileUrl
- The URL to the profile of the user who posted this photo.
- thumbnailUrl
- The URL to the thumbnail of this photo.
- url_delete
- The URL to delete this photo.
- url_demote
- The URL to demote this photo in rank. Will return the user directly to the parent GalleryAlbum edit form.
- url_edit
- The URL to edit this photo.
- url_gallery
- The URL to the Gallery that contains this photo.
- url_makeShortcut
- The URL to make a shortcut to this photo.
- url_listFilesForOwner
- The URL to list files and albums posted by the owner of this photo.
- url_promote
- The URL to promote this photo in rank. Will return the user directly to the parent GalleryAlbum edit form.
- resolutions_loop
- The available resolutions this photo has for download.
- url_download
- The URL to the resolution to download.
- resolution
- The resolution of the photo.
- resolutions_
- A URL direct to a known resolution. "800" resolution would be "resolutions_800".
- exif_
- Each EXIF tag can be referenced by name.
- exifLoop
- A loop of EXIF tags.
- tag
- The name of the EXIF tag.
- value
- The value of the EXIF tag.
- synopsis_textonly
- The "synopsis" field with all HTML removed
- url_album
- The URL of the Album containing this file
- url_thumbnails
- The URL to the Thumbnails view of the Album containing this file
- url_slideshow
- The URL to the Slideshow view of the Album containing this file
- gallery_title
- The title of the Gallery containing this File
- gallery_menuTitle
- The menu title of the Gallery containing this File
- gallery_url
- The URL of the Gallery containing this File
- album_title
- The title of the album containing this File
- album_menuTitle
- The menu title of the album containing this File
- album_thumbnailUrl
- The URL for the thumbnail of the album containing this File
- album_url
- The URL of the album containing this File
- firstFile_url
- The URL of the first file in the album.
- firstFile_title
- The title of the first file in the album.
- firstFile_thumbnailUrl
- The URL of the thumbnail of the first file in the album.
- nextFile_url
- The URL of the next file in the album. Undefined if no next file.
- nextFile_title
- The title of the next file in the album. Undefined if no next file.
- nextFile_thumbnailUrl
- The URL of the thumbnail of the next file in the album. Undefined if no next file.
- previousFile_url
- The URL of the previous file in the album. Undefined if no previous file.
- previousFile_title
- The title of the previous file in the album. Undefined if no previous file.
- previousFile_thumbnailUrl
- The URL of the thumbnail of the previous file in the album. Undefined if no previous file.
- lastFile_url
- The URL of the last file in the album.
- lastFile_title
- The title of the last file in the album.
- lastFile_thumbnailUrl
- The URL of the thumbnail of the last file in the album.
- searchForm_start
- Begin the form to search the Gallery.
- searchForm_end
- End the form to search the Gallery.
- searchForm_basicSearch
- The basic search input box. Will search the title,
description, keywords, and user defined fields.
- searchForm_title
- Search by title.
- searchForm_description
- Search by description.
- searchForm_keywords
- Search by keyword.
- searchForm_location
- Search by location.
- searchForm_className
- Search by class name.
- searchForm_creationDate_after
- Limit search to assets created after this date-time.
- searchForm_creationDate_before
- Limit search to assets created before this date-time.
- searchForm_submit
- Submit the search form.
- commentForm_start
- Begin the comment form.
- commentForm_end
- End the comment form.
- commentForm_bodyText
- The body of the comment. A rich editor as configured by the parent Gallery.
- commentForm_submit
- Submit the comment form.