Add caption to Lightbox?

HomeSupportImage StoreAdd caption to Lightbox?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #52686
    Artisan
    Participant

    Is it possible to add images’ captions to the bottom of the Lightbox pop-up? They appear in Slideshow view OK.

    Regards
    Malcolm

    #52713
    Artisan
    Participant

    Anyone?

     

    Regards

    Malcolm

    #53351
    mrdares
    Participant

    Hello,

    I would like to add captions too, in the Lightbox pop-up.

    Tried to look at the touch.jquery.js, still looking for a solution

    Any Idea?

     

    #53355
    mrdares
    Participant

    Hello,

    in _inc folder >store.php : touch.jquery.js is loaded,

     

    in touch.jquery.js
    if (e(“.ims-touch-” + t).next(“.img-metadata”)[0]) {
              title = e(“.ims-touch-” + t).attr(“title”);
              e(“#ims-slide-” + t).html(this).append(e(“.ims-touch-” + t).next(“.img-metadata”).clone().prepend(‘<span class=”image-title”>’ + title + “</span>”).append(closelink))
            } else e(“#ims-slide-” + t).html(this).append(e(‘<span class=”img-metadata” ></span>’).append(closelink))
          });

    and : .attr(“title”) seems to be the title of the picture that appears in the lightbox…

    guess I have to create in store.php an attribute for “captions” that I could add in touch.jquery.js

    a bit of help would be appreciated! 🙂

    #53374
    Xpark Media
    Keymaster

    @mrdares,

    caption should be displying in the lightbox, check be sure that the images do have a caption and that there is no css/js conflict ex: dia de los muertos

    #53426
    mrdares
    Participant

    Hello Hax, thanks for the reply,

    In dia de los Muertos, it is the name of the picture that appears in the lightbox,

    I would like to display the “caption” that is (in the admin section of galleries) the box right under the title of the picture

    captions

    #53442
    Xpark Media
    Keymaster

    @mrdares,

    You are right, at the moment this is not a setting, by default it should use caption and then title but it is not. We will try to fix this issue in the next release.

    #53446
    mrdares
    Participant

    HEllo,
    maybe if you give me a little hint, I can try to set it up…
    The captions appear in the slideshow view of the gallery…
    I’m sure it’s something to do with store.php and touch.jquery.js to have them appear in the lightbox…
    🙂

    #53491
    mrdares
    Participant

    Ok,
    Will be waiting for the next release!

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.