Difference between revisions of "PT Photo Gallery Photo Size Types"

From ADF Docs
Jump to: navigation, search
(Overview)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
The Photo Size element provides a field for the '''type''' be defined.
+
The Photo Size element provides a field for the size '''type''' to be defined.  This establishes a relationship between the other photo size records that have the same '''type''' defined.
 +
 
 +
In the Photo Category selections for the initial size, multiple required sizes can be selected.  If a size is selected with a defined type, then this will only process the resize sizes selections that match that defined type. 
 +
 
 +
For example, I have the following 4 photo sizes:
 +
# Large Portrait with the type ''portrait''
 +
# Large Landscape with the type ''landscape''
 +
# Small Portrait with the type ''portrait''
 +
# Small Landscape with the type ''landscape''
 +
 
 +
When a photo is uploaded that matches the initial size requirements for ''Large Portrait'' only the ''Small Portrait'' resize will be created.  The ''Small Landscape'' will not be created because the type is not ''portrait''.
 +
 
 +
This enables the photo manager to control the resizing without creating multiple categories for the different photo size types.  
  
 
[[Category:Photo Gallery]][[Category:Customization]]
 
[[Category:Photo Gallery]][[Category:Customization]]

Latest revision as of 12:49, 26 March 2010

Overview

The Photo Size element provides a field for the size type to be defined. This establishes a relationship between the other photo size records that have the same type defined.

In the Photo Category selections for the initial size, multiple required sizes can be selected. If a size is selected with a defined type, then this will only process the resize sizes selections that match that defined type.

For example, I have the following 4 photo sizes:

  1. Large Portrait with the type portrait
  2. Large Landscape with the type landscape
  3. Small Portrait with the type portrait
  4. Small Landscape with the type landscape

When a photo is uploaded that matches the initial size requirements for Large Portrait only the Small Portrait resize will be created. The Small Landscape will not be created because the type is not portrait.

This enables the photo manager to control the resizing without creating multiple categories for the different photo size types.