This is a simple module for Drupal 7.x that uses jQuery to transform the TITLE or ALT attribute of a image to a image caption. There is a settings page with lot's of possible configuration. The image caption won't show in the WYSIWYG-editor, but will be visible when you view the node.
The module differs in several ways from similar modules.
jCaption changes this:
<img title="Image caption here" src="image.jpg" alt="Image description">
<span class="caption none" style="width: 230px;"> <- the width of the image... <img title="Image caption here" src="image.jpg" alt="Image description"> <p>Image caption here!</p> </span>
Tested in IE6, IE7, Firefox, Safari and Chrome.
Theming image captions
The container have the class caption. It's also possible for the container to inherit classes, styles or alignments from the image.
You should check out the more advanced module Image Caption:
Image Caption is different from jCaption in several ways:
- Image Caption works the other way around - you give images the class caption to get captions. jCaption can work like that but can also make captions on all images with TITLES in a id or class
- Image Caption only work with TITLE - jCaption can work with TITLE or ALT
- Image Caption don't inherit classes or styles from the image
Caption Filer is a module that converts WordPress-style [caption] tags into HTML markup.
The jQuery is heavily based on Joel Sutherlands excellent jCaption plug-in with some development and small changes for a perfect fit for Drupal. Thanks to Joel Sutherland. Read more about this at http://plugins.jquery.com/project/jcaption
For news about jCaption, follow me on twitter!
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Content, Content Display, Media
- Reported installs: 4,534 sites currently report using this module. View usage statistics.
- Downloads: 16,002
- Last modified: 19 November 2015
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.