beautypg.com

Adobe Photoshop CS4 User Manual

Page 655

background image

648

USING PHOTOSHOP CS4

Optional plug-ins

Last updated 1/10/2010

When customizing or creating a gallery style, you can add any token to any HTML template file, with the exception of
%THUMBNAILS% and %THUMBNAILSROWS%, which can appear only in the IndexPage.htm file. When adding a
token, keep in mind that you may also need to add HTML code to the file so that the token is used correctly.

You can use the following tokens in the HTML template files:

%ALINK%

Determines the color of active links.

%ALT%

Determines the name of an image file.

%ANCHOR%

Provides the ability to return to the thumbnail of the image the user is viewing, rather than the beginning

of the index. This takes effect when the user clicks the Home button.

%BANNERCOLOR%

Determines the color of the banner.

%BANNERFONT%

Determines the font of the banner text.

%BANNERFONTSIZE%

Determines the font size of the banner text.

%BGCOLOR%

Determines the background color.

%CAPTIONFONT%

Determines the font of the caption below each thumbnail on the home page.

%CAPTIONFONTSIZE%

Determines the font size of the caption.

%CAPTIONTITLE%

Inserts the document title for a caption from the file information.

%CHARSET%

Determines the character set used on each page.

%CONTACTINFO%

Determines the contact information for the gallery, such as phone number and location.

%CONTENT_GENRATOR%

Expands to “Adobe Photoshop CS4 Web Photo Gallery.”

%COPYRIGHT%

Inserts the copyright information for a caption from the file information.

%CREDITS%

Inserts the credits for a caption from the file information.

%CURRENTINDEX%

Determines the link for the current home page.

%CURRENTINDEXANCHOR%

Resides in SubPage.htm and points to the first index page.

%DATE%

Determines the date that appears on the banner.

%EMAIL%

Determines the e-mail address contact information for the gallery.

%FILEINFO%

Determines the image file information for a caption.

%FILENAME%

Determines the filename of an image. Use this for metadata that appears as HTML text.

%FILENAME_URL%

Determines the URL filename of an image. Use this for URL filenames only.

%FIRSTPAGE%

Determines the link for the first gallery page that appears in the right frame of a frame set.

%FRAMEINDEX%

Determines the link for the home page that appears in the left frame of a frame set.

%HEADER%

Determines the title of the gallery.

%IMAGEBORDER%

Determines the border size of the full-size image on a gallery page.

%IMAGE_HEIGHT%

Enables the Add Width And Height Attributes For Images check box. This allows the user to

download the attributes, reducing download time.

%IMAGE_HEIGHT_NUMBER%

This token is replaced by a numeral (only) representing the width of the image.

%IMAGEPAGE%

Determines the link to a gallery page.