Using Help
|
Contents
|
Index
Back
394
Adobe Photoshop Help
Designing Web Pages
Using Help
|
Contents
|
Index
Back
394
3
Using an HTML editor, create the necessary HTML template files and store them inside
the style folder. When creating the template files, make sure that you follow the guidelines
for customization outlined in
“Customizing Web photo gallery styles” on page 393
.
When you have finished, you can create a gallery using the new style. The new style
appears as an option in the Styles pop-up menu in the Web Photo Gallery dialog box.
Using tokens in Web photo gallery styles
Photoshop features tokens in the HTML template files that are used to define a default
Web photo gallery style. The tokens enable Photoshop to generate a gallery based on user
input in the Web Photo Gallery dialog box.
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 only appear 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.
%BANNERCOLOR%
Determines the color of the banner.
%BANNERFONT%
Determines the font of the banner text.
%BANNERFONTSIZE%
Determines the font size for the banner text.
%BGCOLOR%
Determines the background color.
%CAPTIONFONT%
Determines the font for the caption below each thumbnail on the
home page.
%CAPTIONFONTSIZE%
Determines the font size for the caption.
%CHARSET%
Determines the character set used on each page.
%CURRENTINDEX%
Determines the link for the current home page.
%DATE%
Determines the date that appears on the banner.
%FILEINFO%
Determines the image file information for a caption.
%FILENAME%
Determines the filename of an image.
%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.
%IMAGEPAGE%
Determines the link to a gallery page.
%IMAGESRC%
Determines the URL for a full-size image on a gallery page.
%LINK%
Determines the color of links.
%NEXTIMAGE%
Determines the link for the next gallery page.
%NEXTINDEX%
Determines the link for the next home page.
%PAGE%
Determines the current page location (for example, page 1 of 3).