Photoshop

Customize or create a web photo gallery style

  1. Locate the folder that stores the existing web photo gallery styles.
  2. Do one of the following:
    • To customize a style, create a copy of the style folder, and store it in the same location as the existing style folders.

    • To create a new style, create a new folder for the new style, and store it in the same location as the existing style folders.

    The new or customized style (named for its folder) appears in the Styles menu in the Web Photo Gallery dialog box.

  3. Using an HTML editor, do one of the following:
    • Customize the HTML template file.

    • 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 About customizing web photo gallery styles.

    Important: When customizing or creating a template for a gallery style, you should place each of the following tokens on a separate line in the HTML file: %CURRENTINDEX%, %NEXTIMAGE%, %NEXTINDEX%, %PAGE%, %PREVIMAGE%, and %PREVINDEX%. When generating specific pages of a gallery, Photoshop skips lines in a template that contain tokens that don’t apply to those pages. For example, when Photoshop generates the first gallery page, it skips any line in the template that contains the %PREVIMAGE% token, which determines the link to the previous gallery page. By keeping the %PREVIMAGE% token on a separate line, you ensure that Photoshop doesn’t ignore other tokens in the template.