PT Photo Gallery Overview
Contents
About Photo Gallery App
The Profile application is built in the Application Development Framework (ADF).
- License Agreement
- Download
Overview
The Photo Gallery provides the ability to set dimension requirements for the uploaded image and to resized according to the sizes selected for the category.
A Photo Category has an association of Photo Size elements. The selections are for the initial upload requirement dimensions and the resize processing dimensions. The fields in the element define the category title and the directory to store the categories upload images.
The Photo Size element provides a collection of predefined dimensions and directory names. This elements are selected and associated to the Photo Category.
The Photo element stores the information for the uploaded photo. This element stores the path to the original photo and the category for the photo. Combining these fields, we are able to return the size breakdowns for the photo category.
Requirements
ADF components that are required for the Photo Gallery:
- CEData_1_0
- CSData_1_0
- Scripts_1_0
- CCAPI
ADF Extensions custom field types that are required for the Photo Gallery:
- Hidden Field With Name
ADF must be configured correctly for your site. Site Configuration has instructions for configuration.
Elements
The image represents the element relationships used in the Photo Gallery application.
Contents
The CS Photo Gallery contains the following:
- Custom Coding - various components and scripts.
- CommonSpot Components:
- Photo - Custom Element
- Photo Category - Custom Element
- Photo Size - Custom Element
Note: Elements may contain 1 or more: Render Handlers, Display Templates, or Custom Field Types
Pre-installation Considerations
Application Development Framework (ADF) must be setup and configured on the server for the site that will be implementing the PT Photo Gallery application. For detailed instructions follow the Application Development Framework (ADF) wiki page for Site Configurations.
This installation guide assumes that you have no Custom Elements/Metadata Forms with the names above. Before the install you CS Photo Gallery, be sure to remove any Custom Elements/Metadata Forms with the names contained in the "Contents" section above. If you do not remove existing elements with these names you may have difficulties during the installation.
Installation/Setup
Each of the following steps should be completedly fully and in the order presented.
- ADF Configuration
- Extract Photo Gallery Application
- Import CommonSpot Components
- Site Configuration
- CCAPI Configuration
- Build CommonSpot Templates/Pages
Getting Started
- Getting Started - Guide to setup the photo sizes and categories.
Features
The photo gallery application will provide the following list of features:
- Photo Gallery Element
- Photo Upload Link Custom Field Type
- Hook into CS Image Gallery
- Photo Manager Change Styles
- Photo Size Types
Troubleshooting
Known Issues/Bugs
Found a bug, view the Known Issues/Bugs wiki page. Your issue not on the list? Then post it so the issue can be addressed.