Photo Gallery - Libraries
Below are the list of files that control key areas of the Photo Gallery's design & layout.
Our software uses a template system for a universal design and simple integration into any Website. The page templates are a standard HTML files containing special markers. The library files are used to further control the design within that template layout.
Note: Each marker must be contained between a pair of curly braces (i.e. {HTML_MAIN}) or the generated content will not be displayed.
Thumbnail Library - File & Markers
File: /Library/pb_thumb_display.lbi
Set the Table Name box (Properties Window) to "REMOVED" (without the quotes) and edit the code to add the same name property to the closing TABLE tag and the first opening and closing TR tags. You may set table attributes as normal, however they will automatically be stripped.
Marker | Description |
---|---|
BG_IMAGE | Replaced with the URL to the image. This should be set as the BACKGROUND attribute for a table cell to allow for copyrighted/protected images. |
IMAGE | Replaced with an IMG HTML tag. If the image is copyrighted/protected, IMAGE is replaced with a transparent overlay image. For non-protected images, it will be reference the image directly. |
WIDTH | Replaced with the width of the thumbnail. |
HEIGHT | Replaced with the height of the thumbnail. |
DIMENSIONS | Replaced with the width and height (formatted as "##x##") of the full-size image. |
TITLE | Replaced with the image's title (download filename if the title is empty). |
UPLOAD_TIME | Replaced with the date the file was added to the gallery, formatted as specified in the settings. |
FILE_SIZE | Replaced with the file size of the full-size image. Will display bytes, KB, or MB. |
CLASS | Replaced with the appropriate CSS row style. |
CAPTION | Displays the image's complete caption, if available. |
Full-Size Image Library - File & Markers
File: /Library/pb_image_display.lbi
Place the markers (as outlined in the table that follows) where you would like the information to appear in the table.
Marker | Description |
---|---|
BG_IMAGE | Replaced with the URL to the image. This should be set as the BACKGROUND attribute for a table cell to allow for copyrighted/protected images. |
IMAGE | Replaced with an IMG HTML tag. If the image is copyrighted/protected, IMAGE is replaced with a link to a transparent overlay image. For non-protected images, it will be reference the image directly. |
WIDTH | Replaced with the width of the thumbnail. |
HEIGHT | Replaced with the height of the thumbnail. |
DIMENSIONS | Replaced with the width and height (formatted as "##x##") of the full-size image. |
TITLE | Replaced with the image's title (download filename if the title is empty). |
UPLOAD_TIME | Replaced with the date, formatted as specified in the settings, the file was added to the gallery. |
FILE_SIZE | Replaced with the file size of the full-size image. Will display bytes, KB, or MB after the size depending on the actual file size. |
CAPTION | Displays the image's complete caption, if available. |
IMAGE_NAVIGATION | Displays links to the first, previous, next, and last image in the current gallery/category. If specified in the settings, graphics will be displayed for each of these links. |
Catalog Toolbar Library - File & Markers
File: /Library/cmac_toolbar.lbi
Marker | Description |
---|---|
PATH | Replaced with the path the customer has traversed through the category tree. |
PAGE_NAV | The page navigation menu. |
CATEGORY_NAV | The subcategory navigation menu |
SORT_MENU | The catalog sort menu options. |