Title: Adding captions to lightbox
Last modified: August 21, 2016

---

# Adding captions to lightbox

 *  [ayoungvoice](https://wordpress.org/support/users/ayoungvoice/)
 * (@ayoungvoice)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/adding-captions-to-lightbox-1/)
 * I have a title and alt description but each image but I want to show the description.
   How does it show using the pretty photo option? [annharris.net/wordpress](http://annharris.net/wordpress)
   What box in the media center should it be put in?
 * [http://wordpress.org/plugins/responsive-lightbox/](http://wordpress.org/plugins/responsive-lightbox/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/adding-captions-to-lightbox-1/#post-4191576)
 * prettyPhoto displays the title attribute of a link (an ‘a’ selector). If you 
   make your links include description of the image, it will be displayed in a lightbnox.
 *  Thread Starter [ayoungvoice](https://wordpress.org/support/users/ayoungvoice/)
 * (@ayoungvoice)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/adding-captions-to-lightbox-1/#post-4191637)
 * Are you talking about adding the description into the media center title box 
   or actually in the code of the link in the page? I have a client who is adding
   images and needs it as easy as possible.
 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/adding-captions-to-lightbox-1/#post-4191639)
 * If your images (attachments) are described just modify your image links to display
   it, instead of image titles.
 *  [leopardman](https://wordpress.org/support/users/leopardman/)
 * (@leopardman)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/adding-captions-to-lightbox-1/#post-4191661)
 * And how can one show captions? I’m using prettyPhoto…
 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/adding-captions-to-lightbox-1/#post-4191663)
 * All you’d have to do is to make title attribute of image links use image captions
   instead of link titles. It would require some modifications in your theme I guess,
   but the end result should be like that:
 * `<a href="..." title="The caption of an image"><img src="..."></a>`
 * Getting image captions for your attachments is quite well described here: [http://www.wpbeginner.com/wp-tutorials/how-to-display-wordpress-post-thumbnails-with-captions/](http://www.wpbeginner.com/wp-tutorials/how-to-display-wordpress-post-thumbnails-with-captions/)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Adding captions to lightbox’ is closed to new replies.

 * ![](https://ps.w.org/responsive-lightbox/assets/icon-256x256.png?rev=3460874)
 * [Responsive Lightbox & Gallery](https://wordpress.org/plugins/responsive-lightbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsive-lightbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsive-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/responsive-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsive-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsive-lightbox/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [dFactory](https://wordpress.org/support/users/dfactory/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/adding-captions-to-lightbox-1/#post-4191663)
 * Status: not resolved