WordPress.org

Forums

FooBox Image Lightbox
[resolved] Caption bug (7 posts)

  1. bphil
    Member
    Posted 1 year ago #

    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"/>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/

  2. bradvin
    Member
    Plugin Author

    Posted 1 year ago #

    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"

  3. wpu9000
    Member
    Posted 9 months ago #

    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

  4. bradvin
    Member
    Plugin Author

    Posted 9 months ago #

    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

  5. amandelman
    Member
    Posted 8 months ago #

    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!

  6. bradvin
    Member
    Plugin Author

    Posted 8 months ago #

    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

  7. amandelman
    Member
    Posted 8 months ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • FooBox Image Lightbox
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic