Support » Plugin: Image Gallery - Responsive Photo Gallery » Titles in Lightbox

  • Resolved silverliebt

    (@silverliebt)


    Can you let me know how to make either titles or descriptions show in the Lightbox when deploying a Lightbox-Gallery view gallery? I’m going to set page x of x to display:none to give it more room. I had this working at one point, but am having trouble retracing my steps. It shows at the bottom of the lightbox (using setting 1), right next to the forward and back arrows. Looking at the lightbox options, I don’t see a setting, however, to toggle this. As a related question, can descriptions be used at all in the LIGHTBOX-GALLERY view? Or just titles?

    Thanks much for your great service!
    Daniel

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter silverliebt

    (@silverliebt)

    .gicboxCurrent { display: none; }

    is what I had in mind, whereas the buttons would remain for navigation and the title/description would show where the “image 1 of 12” (for instance) shows.

    • This reply was modified 5 years, 3 months ago by silverliebt.

    Hello
    Thank you for the quetions,
    Lightbox will not show description, it’s impossible due to the fact that the lightbox it made with the pieces of images, there is no space for additional text rather than title, which you can enable from Lightbiox Options, every image should have title in media library

    Thread Starter silverliebt

    (@silverliebt)

    Is there any way to have the title show on image hover in the box at the bottom of the thumbnail, but not simultaneously show as a tooltip? My client is insistent that the hover in the image is ok, but not the tooltip which the browser itself uses to display attached to the cursor. I know it’s a longshot, but I had to at least ask. Let me know if the question needs clarification. For reference, here is the gallery: http://dimitrihadzi.com/dimitri-hadzi-sculpture/sculpture-new/

    • This reply was modified 5 years, 2 months ago by silverliebt.

    Hello, the tooltip displays only if the image link has title attribute in it, that attribute is being added by media library, you need to remove the titles from media library and only have title within our gallery, and the tooltip will disapear

    Thread Starter silverliebt

    (@silverliebt)

    I did try your solution, but the tooltip titles persist when empty in the media library and present in the title field of the gallery. Are you sure this is the solution? What about (in future) using data-title as the attribute for the Gallery, instead of using title. By the time it reaches the browser, it’s just <img alt="whatever" title="This shows up in a tooltip too" /> at least as I see it in DevTools.

    Please try the following
    \templates\front-end\view\lightbox-gallery\lightbox-gallery-view.php file
    Remove these lines
    http://prnt.sc/d2h4ze

    Thread Starter silverliebt

    (@silverliebt)

    Will this solution remove the title at the bottom of the image (not desired) or just the tooltip’s use of title attribute (desired)?

    Thread Starter silverliebt

    (@silverliebt)

    I can try removing lines but wanted to know if this solution will work as I describe…

    This swill only remove the tooltip

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Titles in Lightbox’ is closed to new replies.