Caption aligned right

This module provides a very simple caption input filter that can be used to attach captions to an image or embeddable object. Similar to the WordPress caption shorthand, the filter came for the need to provide a simple method to attach captions to images for a variety of non-technical bloggers migrating from WordPress to Drupal. It also includes a TinyMCE plugin to improve the caption-editing experience.

There are two methods to create a caption:

  1. [caption caption="This is an image caption"]<img src="" alt="" />[/caption]
  2. [caption align="right"]<img src="" alt="" />This is a right aligned caption[/caption]

You can also watch this helpful tutorial video to get you started.

7.x-2.x Branch

Work on version 2 of Caption Filter is underway. This aims to be a backport of the functionality of Drupal 8's core captioning functionality. However, it is very-much a development version and should not be considered stable. It currently has no upgrade path from the 1.x branch. See #2071293: Create an initial backport of D8's Caption Filter code

Drupal 8 Version

Caption Filter is now in Drupal Core! However, we still need to write either an upgrade path for D7 captions or a Legacy Caption Filter module for D8.

Note: feature development on the 6.x version of the module has been suspended. Bug fixes are still accepted.

This module is sponsored by Uptown Almanac.

Project information

Releases