Pages

Friday, February 28, 2014

Add Captions to Drupal Images with jCaption

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.
media_1379605761502.png
  • The image below shows how the caption will appear on your image, using the default Bartik theme. It's really as simple as that:
media_1379605889019.png
Go to Configuration > jCaption and you'll be able to tweak the jCaption options:
media_1379606171482.png
At the bottom of the configuration screen, you can add CSS classes to the captions:
media_1379606544791.png

No comments:

Post a Comment

Thanks for your comment.