Using Drupal 7, how do you add fields to images, similar to imagefield_extended in D6?

3.5k views Asked by At

I'm attempting to add an additional field to images. e.g. position, left or right.

So the user can add multiple images and specify left or right position.

In Drupal 6, one would use imagefield_extended or cck multigroup.

Using Drupal 7, how do you add fields associated with images?

The user should be able to reorder these images and their associated data on the node/add or node/edit screen.

1

There are 1 answers

1
Berdir On

Have a look at http://drupal.org/project/field_collection, that might be want you are looking for.

Put simply, field_collection is a field to which you can attach fields. So you could create a field, add an image field to it and any number of other fields which are then automatically grouped.

There is also the media project, which exposes an media entity which can be an image and you can directly attach fields to: http://drupal.org/project/media