PT Photo Gallery Getting Started

From ADF Docs
Jump to: navigation, search

Overview

Follow the instructions below to set up photo sizes and categories.

  1. Create multiple Photo Size records in the Photo Manager Size tab.
  2. Create Photo Category record(s) and select the initial size and resize fields.
  3. Create a new Photo record and select the specific Photo Category from the select list.

The Photo Size, Photo Category and Photo records are managed from the 3 tabs located on the Photo Manager page.

Photo Sizes

The Photo Size element is used to generate a collection of possible photo sizes. New records are created from the simple form on the 'Size' tab.

The following is a description of each field:

  • Title - Display name for the size (i.e. 'Large', 'Medium', 'Small', etc.)
  • Directory - Name of the storage directory on the server.
  • Width - Pixel size for the photo width.
  • Height - Pixel size for the photo height.
  • Type - Used to categorize the photo sizes (i.e. 'Portrait', 'Landscape')

Photo Categories

The Photo Category element is used to associate a collection of photo sizes. A category is assigned to an uploaded photo to define the photo requirements and resizing dimensions.

The following is a description of each field:

  • Title - Display name for the category (i.e. 'General', 'Profile', 'News')
  • Directory - Name of the storage directory on the server.
  • Required Size ID List - Photo Size selection for the required upload photo dimensions.
  • Resize Size ID List - Photo size selection for the resizing dimensions of the uploaded photo.

Photo Element

The Photo element is used to upload the photo and perform the resizing associated with the photo category assigned.

The following is a description of each field:

  • Title - Title for the photo.
  • Caption - Caption for the photo.
  • Abstract - Abstract description for the photo.
  • Photo - Upload photo field.
  • Category - Selection list of the category for the photo.
  • Include Photo In Image Gallery - Checkbox for the photo to be uploaded into the CommonSpot Image Gallery.