• Resolved jdf0

    (@jdf0)


    Hi everyone. I’m currently working on a project for a client. He requests the images open up in a different window but on the same page (lightbox).

    I’ve had it work on other sites that I’ve worked on in the past. For some reason, the images open up in a new window and NOT in lightbox.

    Here’s the “testing” page. Do note that the page isn’t finished and I put only one image to work right now.

    https://www.kumarsapra.com/press-testimonials/

    Here’s the site that I am following for the lightbox:
    https://www.ibm.com/developerworks/web/library/wa-ltbox/

    Before this, I’ve tried every popular lightbox plugin. They all have the same problem. They open up in a new page. Please, all help would be greatly appreciated!

Viewing 14 replies - 16 through 29 (of 29 total)
  • Thread Starter jdf0

    (@jdf0)

    Please read what I posted before.

    The one I am USING as an example is part of my custom theme. But I just wanted to keep you in the loop that I have tried plugins and they have the same problem

    Thread Starter jdf0

    (@jdf0)

    Eureka! I found out the problem!

    So I did as you stated, esmi. I tried 2012 theme again and the lightbox was working on there.

    I realized my custom theme did NOT have wp_head and wp_footer! The two most important hooks for plugins to work.

    I put those hooks into my theme in the appropriate places, turned Lightbox Gallery plugin back on (turned off other lightbox plugins) and it worked) ??

    Thanks for your help, I really appreciate it.

    Hi, i had read what you wrote sometimes ago about lightbox issue… i read that you find that wp-footer and wp-header wasn’t in your custom theme…. please… what you exactly mean about those two files? Are they php files? Css files? Where should they had to be and they weren’t?
    thank you so much… any way

    Hi aresca,

    I had same issue and had to paste this at the top of my footer.php file as I had customised my own theme:

    <?php wp_footer(); ?>

    Also check that this is in your header.php file:

    <?php wp_head(); ?>

    hope it helps!

    Hi,

    I am having the problem where my WP-Gallery opens up a new tab instead of a lightbox on the same page.
    https://vincegermano.com/portfolio/
    Please HELP!

    Hi are you using a lighbox plug in? If so which one?
    also when i click on the images towards the bottom of the page, they are not opening in a new tab, but also the images are not (like yu said) showing in a lightbox effect.

    Sorry you have put you are using WP Gallery. Try installing this pluggin – Lightbox Plus – https://www.23systems.net/wordpress-plugins/lightbox-plus-for-wordpress/

    I currently have NextGEN Gallery activated. It used to work till WP update crashed my site. I tried a bunch of different plug-ins before like Rocket Gallery Plugin and WP gallery.

    Have you tried lightbox plus?

    I have that plugin activated right now but not sure what to do to get the images to work.

    The lightbox is working on this page: https://vincegermano.com/portfolio/new-2013-demoreel/

    Is it just the /portfolio/ page that you are having trouble with? If so try taking the images out of a gallery and just embed them on the page itself as individual images. does that make sense?

    Yea, its my portfolio page. It seems to work on my phone but its still not working on the browser. I’ll try to embed them on the page.

    I inserted one photo into the page and it still doesn’t work.

    Well it works on IE browser but not the Chrome broswer.

Viewing 14 replies - 16 through 29 (of 29 total)
  • The topic ‘Lightbox not working :(’ is closed to new replies.