Title: Caption bug
Last modified: August 21, 2016

---

# Caption bug

 *  Resolved [bphil](https://wordpress.org/support/users/bphil/)
 * (@bphil)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/caption-bug-1/)
 * Hi there,
 * I am running the latest foobox free version plugin in a self-hosted wordpress
   installation. I think there is a bug in the caption system.
    With this code:
 * > [caption id="picture-2" width="300" align="alignright"][<img alt=”ALT TEXT” src=”picture-2.png”/>](https://wordpress.org/support/topic/caption-bug-1/picture-2.png?output_format=md)
   > CAPTION TEXT[/caption]
 * the caption shown will be:
 * CAPTION TEXT
    ALT TEXT
 * Usually, that will result in a duplication because the alt-text is just the caption-
   text.
 * Best,
    bphil
 * [https://wordpress.org/plugins/foobox-image-lightbox/](https://wordpress.org/plugins/foobox-image-lightbox/)

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

 *  Plugin Author [bradvin](https://wordpress.org/support/users/bradvin/)
 * (@bradvin)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/caption-bug-1/#post-4978102)
 * Hello,
 * FooBox is smart enough to only show the title in the caption, when the caption
   title and caption description are the same text. So in your example, when the
   ALT text is also “CAPTION TEXT”, it will only show “CAPTION TEXT” in the FooBox
   caption and not
 * “CAPTION TEXT
    CAPTION TEX”
 *  [wpu9000](https://wordpress.org/support/users/wpu9000/)
 * (@wpu9000)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/caption-bug-1/#post-4978351)
 * I am having the same problem with foobox free on a self hosted site.
    Both the
   caption and alt text are displayed in the lightbox. If I make the caption and
   the alt text identical, both are displayed. If I make the caption and the alt
   text different, both are displayed. If I leave the alt text blank, the caption
   is displayed twice! This site is underdevelopment on a localhost so I cannot 
   give a url.
 * Does someone have a solution for this?
 * thank you,
    david
 *  Plugin Author [bradvin](https://wordpress.org/support/users/bradvin/)
 * (@bradvin)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/caption-bug-1/#post-4978356)
 * hi David,
 * I have tried to reproduce the scenarios you listed and I cannot get it to show
   duplicate title and description. Can you paste what the output HTML is from your
   localhost so I can test with that please
 *  [amandelman](https://wordpress.org/support/users/amandelman/)
 * (@amandelman)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/caption-bug-1/#post-4978357)
 * Hi, Brad.
 * Is there anyway an update for the plugin could change the alt text/caption behavior?
 * I understand that so long as the alt text and caption are the same, both won’t
   appear in the lightbox. But it would be really nice if the alt text didn’t appear
   at all. We have rather long captions often including html links, which the alt
   field doesn’t take too well.
 * Thanks!
 *  Plugin Author [bradvin](https://wordpress.org/support/users/bradvin/)
 * (@bradvin)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/caption-bug-1/#post-4978358)
 * Hi Amandelman,
 * The PRO version of FooBox has the ability to turn off descriptions in the captions.
   If you like, I can send you the PRO version to trial out for a few days and if
   you like it then you can buy a license? If you want to do this, then email me
   brad [at] fooplugins.com
 *  [amandelman](https://wordpress.org/support/users/amandelman/)
 * (@amandelman)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/caption-bug-1/#post-4978359)
 * Ah very cool. Let me check with our editorial board and budget and I’ll get back
   to you. No sense running a trial if we won’t ever purchase 🙂
 * Thanks!

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

The topic ‘Caption bug’ is closed to new replies.

 * ![](https://ps.w.org/foobox-image-lightbox/assets/icon-256x256.gif?rev=2667030)
 * [Lightbox & Modal Popup WordPress Plugin - FooBox](https://wordpress.org/plugins/foobox-image-lightbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/foobox-image-lightbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/foobox-image-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/foobox-image-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/foobox-image-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/foobox-image-lightbox/reviews/)

## Tags

 * [alt text](https://wordpress.org/support/topic-tag/alt-text/)
 * [caption](https://wordpress.org/support/topic-tag/caption/)
 * [duplication](https://wordpress.org/support/topic-tag/duplication/)

 * 6 replies
 * 4 participants
 * Last reply from: [amandelman](https://wordpress.org/support/users/amandelman/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/caption-bug-1/#post-4978359)
 * Status: resolved