jCaption is a simple but very useful little module.
jCaption allows you to add captions to your Drupal images, no matter what editor you’re using.
Using a small jQuery script you’ll be able to add the captions and then use CSS classes to improve the design of those captions.
How to use jCaption
- Install and enable the jCaption module: https://drupal.org/project/jcaption
- Inside your content, make sure your image has either an ALT or a TITLE tag. This will be the caption for the image.
- The image below shows how the caption will appear on your image, using the default Bartik theme. It’s really as simple as that:
Go to Configuration > jCaption and you’ll be able to tweak the jCaption options:
At the bottom of the configuration screen, you can add CSS classes to the captions: