0

I have a field of type image "COVER IMAGE" in my blog entry content type. The users should have the power to place it wherever they like...top, down,right or left, if not more and re size it. right now it appears at the bottom of the content and of the same size as that uploaded.

Can this be done?

Regards

3

Of course it can! Was covered in docs and in even more docs and is supported by Wysiwyg, with helpful modules like Insert to make it even easier.

  • 59924 sites have Insert installed and I've never even heard of it. Must be good! I didn't think of the WYSIWYG approach, good call – Clive May 21 '13 at 11:29
  • It's dirt simple, just gets the job done. It's not so hard to generate img tag in javascript, after all. I'm just glad some other guy maintains it's browser compatibility! – Mołot May 21 '13 at 11:33
  • brilliantly put – why May 22 '13 at 5:36
3

You can use the Formatter Field module for the second part

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.

  • 1
    Pure Wysiwyg solution allows to display image as smaller, leaving file intact. Good thing about is: it's less resource intensive on node save, and allows for unpredicted formats. Good thing about module you provided - saves bandwidth and reader's resources. "Choose your poison" case, as good in one = bad in the other. – Mołot May 21 '13 at 11:30
  • If it's for non-admin users I think I'd prefer the WYSIWYG solution, I don't know of an intuitive module for arranging fields on a page-by-page basis (display suite/panels can get there but I've never liked the interfaces personally) – Clive May 21 '13 at 11:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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