ImageField Extended

Last modified: October 5, 2009 - 13:16

An extended ImageField widget that adds new form fields to a ImageField widget. It provides no new theming functions, it just provides the framework to associate new data with an image.

All processing, including storage, is done via ImageField. This module simply allows you to easily extend the currently available form fields; alt, description, title, etc, and leaves it up to the themers to run their magic.

We have used a single multivalue ImageField "Image, with additional fields" field to do all of the following in 3 projects.

  • Header image checkbox, usage has been at both the page and node level.
  • Featured teaser list image flag.
  • Block image of existing page's node.
  • Adding alternative links to the image
  • Extra info to the rendered image. Our main usage is to add new attributes for JScript. We haven't actually added a caption yet!
  • Embedded gallery of selected images

The following pages are used to help demonstrate possible theming uses.

 
 

Drupal is a registered trademark of Dries Buytaert.