Support » Plugin: Easy Image Display » Caption Link loading in a lightbox!?

  • Resolved mytrainerbase


    I have a gallery of photos of our personal trainers. It’s located here:

    I have set the link parameter to “lightbox”. In the media files themselves, the captions are set to a url that takes you to the particular trainer’s page. For example, ‘<‘a href=””>Carly Harris</a’>.’

    So the gallery loads properly, and the caption shows up. When you click the thumbnail in the gallery, a lightbox with the trainer’s picture shows up. That’s great. When you click the caption-link to go to the trainer’s page, the link opens up in a lightbox. That’s not so great.

    Does anyone know what I need to do to allow the media file itself to show up in a lightbox, but to have the caption-link just go to the url for the trainer’s page?

    All help is greatly appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Shellbot


    Hi there

    Sorry about that, I’ve found the problem and will push out an update but in the meantime you can fix this by opening up sb-easy-image-display.php and replacing this line:

    jQuery("#' . $gallery_id . ' a").colorbox({

    With this:

    jQuery("#' . $gallery_id . ' .gallery-icon a").colorbox({

    It should be around line 62 in that file.

    Thread Starter mytrainerbase


    Thanks so much for the quick reply!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Caption Link loading in a lightbox!?’ is closed to new replies.