Drupal Answers is a question and answer site for Drupal developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Say I have an image field and several different Image Styles (image cache presets) set up. I would like to allow my content editors to be able to choose from the list of available presets during content creation.

Any Ideas on this is achieved? Off the top of my head it seems like a custom module might be in order...

share|improve this question
up vote 2 down vote accepted

Luckily enough there's already a module that does exactly this, Formatter Field. The example use case given on the module page is exactly the same as yours:

The formatter field module provides a mechanism for specifying a formatter and formatter settings to be used for displaying a field, on a per-entity basis. By default, Drupal provides formatters and settings per entity bundle, but in certain situations it is necessary to choose the formatter at the entity level.

For example, say you have a page node with an image field. Normally, you would select an image style as the formatter, and all page nodes would use that same image style. With this module, you can add a formatter field to page nodes, which is hooked up to the image field. Then when the node is created or edited, the image style can be selected per-node.

share|improve this answer
super. clive to the rescue once again. – ricardoom Jun 28 '12 at 17:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.