HTML Tokens
On this page
Tokens enclosed by @@ characters are replaced with image data when HTML pages are generated. For example, exif inserts full EXIF details for the image.
URLs and File Information#
file |
Original filename e.g. IMG_0123.JPG |
|---|---|
fileNoExt |
Filename without extension |
dirName |
Folder name e.g. 2004_May |
dir |
Full folder path |
imageNumber |
Image position in folder |
numberOfImages |
Total images in folder |
fileSize |
File size e.g. 3,689Kb |
tagged |
1 if tagged, 0 if not |
AdobeRating |
Adobe Bridge star rating |
AdobeLabel |
Adobe Bridge label |
next, prev |
"Next"/"Prev" with hyperlinks to adjacent pages |
nextURL, prevURL |
URLs of adjacent full-size pages |
url |
URL of current full-size page (for linking thumbnails) |
body, body2, body3 |
Concatenated thumbnails from thumbnail templates |
title |
Title entered in HTML dialog |
user1, user2, user3 |
Values from user-defined fields in HTML dialog |
tableRow<n> |
Inserts </tr><tr> every n thumbnails (for HTML tables) |
lastUpdatedDate |
Today's date |
empty |
Always empty string |
Image Properties#
image |
URL of the JPEG image |
|---|---|
width, height |
Image dimensions in pixels |
orientation |
Landscape or Portrait |
src_width, src_height |
Original source image dimensions |
EXIF Information#
exif |
Full EXIF details |
|---|---|
exifSummary |
Abbreviated EXIF |
caption |
Comments / IPTC caption |
model |
Camera model |
iso |
ISO setting |
shutter |
Shutter speed |
aperture |
Aperture |
exposureMode |
Exposure mode |
lens |
Lens focal length range |
focalLength |
Focal length used |
date |
Date photo taken |
time |
Time photo taken |
year, month, day |
Date components |
latitude, longitude |
GPS coordinates (deg/min/sec) |
latitudeAsDecimal, longitudeAsDecimal |
GPS as decimal |
altitude |
GPS altitude |
IPTC Data Tokens#
IPTC_caption |
Description/caption |
|---|---|
IPTC_keywords |
Comma-separated keywords |
IPTC_author |
Author/byline |
IPTC_copyright |
Copyright notice |
IPTC_headline |
Headline |
IPTC_city, IPTC_country |
Location |
IPTC_dateCreated |
Date created |
IPTC_jobID |
Job identifier |
Prefix stripped to strip HTML tags (e.g. strippedIPTC_caption). Prefix raw to return data unmodified (e.g. rawIPTC_caption). Legacy IIM equivalents use IPTC_IIM_ prefix (e.g. IPTC_IIM_caption).
String Functions#
{left,n,str} |
First n characters of str |
|---|---|
{right,n,str} |
Last n characters of str |
{mid,n,m,str} |
m characters from position n |
{first,str} |
First word |
{last,str} |
Last word |
{default,str1,str2} |
str1 if not empty, else str2 |
{if,test,str1,str2} |
str1 if test not empty, else str2 |
{upper,str} |
Convert to uppercase |
{lower,str} |
Convert to lowercase |
{cc1,code} |
Country name from ISO-3166 code |
The sequence (c) is converted to ©. Filenames are lower case by default (configurable in Preferences).
Was this page helpful?
Thanks, that helps us improve the guides.