• Resolved Jeveloper

    (@jeveloper)


    When I click on any image of my gallery I added into my post, lightbox doesn’t work. I see the full width image with blackened background but there are no navigation arrows or close buttom. I have tried many different plugins and none of them work for me so there must be one general thing I am missing. I am building my own theme from scratch but i cant link to my website since I am using localhost.

    a data-rel=”lightbox[gallery-1]” href=”img source“>

    <img class=”attachment-thumbnail” width=”150″ height=”150″ alt=”image3″ src=”img source“></img>

    I can see the rel lightbox added so I don’t understand why it isn’t showing up. Add lightbox by default in settings is checked and I tried multiple lightbox scripts.

    Thank you for help, I’ve been trying to resolve this for hours

    https://www.ads-software.com/plugins/responsive-lightbox/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author dFactory

    (@dfactory)

    There are many possible answers, but most probably your site is experiencing heavy javascript issues, like outdated jquery (we’ve seen sites with jquery version released in 2009, even though the WP was updated regularly), javascript errors or/and conflicts.

    From what you describe the plugin works on the PHP/WP level, but does not work on JS level.

    Can you post a link to your site?

    Regards,
    Bartosz / dfactory

    Thread Starter Jeveloper

    (@jeveloper)

    My site isn’t on any server yet since I am only using localhost so I can’t post a link

    <script src=”//code.jquery.com/jquery-1.11.3.min.js”></script> I include this in my header so my jquery should be updated

    Plugin Author dFactory

    (@dfactory)

    So you have a different issue from mentioned above.

    It impossible we dubug this, so you gotta handle it on your own or hire a dev to help you out.

    Thread Starter Jeveloper

    (@jeveloper)

    I was able to resolve this at last, since I am developing my theme, there was no wp_head() in my header.php file.

    Plugin Author dFactory

    (@dfactory)

    Yep, another typical issue.

    Thx for the info.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Lightbox doesn't work’ is closed to new replies.