Personal tools
You are here: Home Documentation Tutorials PloneFormGen Recipies Sumbit a Photo
Document Actions

Sumbit a Photo

A great way to help build your image library and connect with your members and supports is to ask them to send you photos of themselves or the places they enjoy.

Ingredients 

  • Nice introductory text
  • Several string fields
  • A file field
  • Optional textarea field
  • Mailer adapter
  • Thank You adapter

Time to Build: 15 Minutes

If you need a primer on the basics of PloneFormGen, read this tutorial first, from ONE/Northwest

A great way to help build your image library and connect with your members and supports is to ask them to send you photos of themselves or the places they enjoy. With a Submit a Photo form, you can have PloneFormGen send an image file as an attachment in an email to a mailbox of your choice.

Steps

 

  1. Create a Form Folder - PloneFormGen should give you an Email, Subject, and Comments field by default. Delete the fields that you don't want
  2. Add introductory content to the top of the form, encouraging people to send you an image. It's a good idea to indicate some parameters for the file: what file type do you want? Is there a size limit? What about intellectual property rights?
  3. Create String Fields for First Name, Last Name, Email, plus any other information you wish to gather
  4. Create a Textarea Field (optionally) for the form submitter to make comments about the image
  5. Create a File Field for people to attach the image file. Notice that you can set a size limit (in MB).
  6. Edit the Mailer Adapter and select a recipient for the form data. The idea here is that you're selecting someone to receive a notification when the form has been submitted, plus to receive the attached image file. You should also change the Subject to something more meaningful than "Form Submission" under the Message tab.
  7. Edit the Thank You Adapter to include a thank you message. You can also decide if you want the form data displayed on the thank you page or not.

 

Note about Saved Data Adapter: The adapter can collect all regular form data, but it cannot store files that are attached via the File field

 

 

 
by Sam Knox last modified 2009-04-30 10:58 All content on this site is licensed under a Creative Commons License.
Still Stumped?
If you've still got questions about Plone, here are your best bets for finding out more:
 

All content in this site distributed under the Creative Commons "Attribution-NonCommercial-ShareAlike" license unless otherwise noted.

Powered by Plone CMS, the Open Source Content Management System