Difference between revisions of "PT Photo Gallery Overview"

From ADF Docs
Jump to: navigation, search
(Installation/Setup)
(Contents)
Line 31: Line 31:
 
The CS Photo Gallery contains the following:
 
The CS Photo Gallery contains the following:
 
* Custom Coding - various components and scripts.
 
* Custom Coding - various components and scripts.
* CommonSpot Components:
+
* Custom Elements:
 
** [[PT_Photo_Gallery_Photo_Custom_Element|Photo]] - Custom Element
 
** [[PT_Photo_Gallery_Photo_Custom_Element|Photo]] - Custom Element
 
** [[PT_Photo_Gallery_Photo_Category_Custom_Element|Photo Category]] - Custom Element
 
** [[PT_Photo_Gallery_Photo_Category_Custom_Element|Photo Category]] - Custom Element
 
** [[PT_Photo_Gallery_Photo_Size_Custom_Element|Photo Size]] - Custom Element
 
** [[PT_Photo_Gallery_Photo_Size_Custom_Element|Photo Size]] - Custom Element
 +
 +
* Custom Fields:
 +
** Photo Image Gallery Checkbox Field
 +
** Photo Upload
 +
** Photo Size Select Metadata Form Field
 +
** Photo Chooser
 +
** Photo Image 
  
 
Note: Elements may contain one or more: Render Handlers, Display Templates, or Custom Field Types
 
Note: Elements may contain one or more: Render Handlers, Display Templates, or Custom Field Types

Revision as of 15:25, 14 April 2010

About Photo Gallery App

The Photo Gallery application is built in the Application Development Framework (ADF).

Overview

The Photo Gallery provides the ability to set dimension requirements for the uploaded image and to resize according to the sizes selected for the category.

A Photo Category is associated with Photo Size elements. The selections are the dimensions required for the initial upload and the resize processing dimensions. The fields in the element define the category title and the directory to store the category's upload images.

The Photo Size element provides a collection of predefined dimensions and directory names. Elements are selected and associated with 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 Library components that are required for the Photo Gallery:

  • ceData_1_0
  • csData_1_0
  • scripts_1_0
  • CCAPI
  • utils_1_0
  • forms_1_0

ADF must be configured correctly for your site. Site Configuration has instructions for configuration.

Elements

This image represents the element relationships used in the Photo Gallery application.


Adf photogallery elements.gif

Contents

The CS Photo Gallery contains the following:

  • Custom Coding - various components and scripts.
  • Custom Elements:
  • Custom Fields:
    • Photo Image Gallery Checkbox Field
    • Photo Upload
    • Photo Size Select Metadata Form Field
    • Photo Chooser
    • Photo Image

Note: Elements may contain one 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 Photo Gallery application. For detailed instructions, see 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 installation of CS Photo Gallery, 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:

  1. Extract Photo Gallery Application
  2. ADF Configuration for the Photo Gallery
  3. Styles
  4. Import Elements
  5. Site Configuration
  6. Build Templates/Pages

Getting Started

Features

The photo gallery application provides the following features:

Troubleshooting

Known Issues/Bugs

Found a bug? View the Known Issues/Bugs wiki page. Your issue not on the list? Post it so the issue can be addressed.