Book Image

Drupal Multimedia

Book Image

Drupal Multimedia

Overview of this book

Table of Contents (16 chapters)

Images Embedded in Content


For our last example we are creating a high-powered blog, Robot Watch. We want the ability to paste images into the content. While we could certainly use the Image attach module with some success to achieve this, the limitations become apparent after use.

First, we are only allowed one attached image per node. That may be fine in some circumstances, but for our blog we want to be able to display several images per article in different places in the content. The next limitation is: attached images placed with Image attach will always be displayed in the same position. Finally, attached images will always have the same styles applied to them, meaning they will always float right (or left, or centered, or however the styles are defined).

We want to embed images inline within our content. We need to be able to have an image of a futuristic android at the top of a post, a bar graph of robotic industries in the third paragraph, and GIF animations of robots walking along...