Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15039
    Marco
    Participant

    Hi,

    The main reason why I’ve purchased the plugin was the possibility to display not only the title of the image but also its caption/description. I’m running a local test site. I have a post with a featured image and a line of code in my front-end page that displays the post and it’s featured image. By clicking on the image, the user will see the lightbox feature as the anchor points to the hi-res featured image file directly. Everything works fine but there’s no caption/description displayed. I’ve put some text in the images meta from the media gallery and also put text in the post’s content and abstract but the text doesn’t show up. Why isn’t my caption/description being fetched?

    Also, default SwipeBox adds arrows to go to previous and next images even though they are not part of a gallery but just posts. Lightgallery is not showing any arrows. The posts are wrapped in an <a> tag and each one of the posts has a rel=”lightbox” in the anchor itself. Any reason why the relation isn’t working? Default SwipeBox works perfectly in this sense. Seems very strange that a premium add-on wouldn’t.

    Thanks,
    Marco

    #15045
    Bartosz
    Keymaster

    Marco, we’ll figure it out.

    First question – you say your selector is rel=”lightbox”. This is a deprecated method, since RL 1.6 we’re using data-rel=”lightbox” and data-rel=”lightbox-gallery-n” for galleries (where n is the unique gallery id).
    As you have rel=”lightbox” i assume you added this in your theme manually – please change that accordingly.

    Second question – lightgallery provides a separate option for the caption (the title option is in the RL settings). Do you have that set?

    Any chance to have a look at your site in on a remote dev server shortly?

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