Difference between revisions of "PT Photo Gallery Cropper Field"

From ADF Docs
Jump to: navigation, search
(Steps)
(Steps)
Line 5: Line 5:
  
 
== Steps ==
 
== Steps ==
# Create a new page "Photo Cropper" from the lightbox template in the ''/lightbox/photogallery/'' subsite.
+
# Create a new page "Photo Cropper" from the Blank Layout template in the ''/photogallery/forms/'' subsite.
 
# On the page, add a Custom Script element and add the following module: ''/ADF/apps/pt_photo_gallery/customcf/photo_upload_crop_form.cfm''
 
# On the page, add a Custom Script element and add the following module: ''/ADF/apps/pt_photo_gallery/customcf/photo_upload_crop_form.cfm''
 
# Publish the page.
 
# Publish the page.

Revision as of 15:49, 24 January 2012

Overview

A Photo Cropper field is used to crop an uploaded photo to meet the categories initial photo size.

Follow the steps below to configure the photo cropper field.

Steps

  1. Create a new page "Photo Cropper" from the Blank Layout template in the /photogallery/forms/ subsite.
  2. On the page, add a Custom Script element and add the following module: /ADF/apps/pt_photo_gallery/customcf/photo_upload_crop_form.cfm
  3. Publish the page.
  4. Edit the ptPhotoGallery Configuration element in the site administration.
  5. Add a new field named "UPLOAD_CROP_URL" of type CommonSpot Page URL into the custom element.
  6. Navigate to the Configuration Manager page and edit the configuration record. Assign the UPLOAD_CROP_URL field with the Photo Cropper CommonSpot page that was created above.
  7. Reset the ADF for the server and site.