July 30, 20188 yr Hello Developers, I have the latest version of WordPress installed, and I have downloaded and activated the "Simple Lightbox" plugin. Unfortunately, the linked media files on my WordPress page aren't opening in a lightbox. This is a custom theme, and I have included <?php wp_head(); ?> in the "header.php" file. PLEASE HELP! See page: http://www.regalgaming.co.uk/products/awp/
July 30, 20188 yr The lightbox isn’t working because you are linking to a different image. The thumbnail and full sized image need to be the same if you want the lightbox to work.
July 30, 20188 yr Author 17 minutes ago, fisicx said: The lightbox isn’t working because you are linking to a different image. The thumbnail and full sized image need to be the same if you want the lightbox to work. Oh, how would I be able to link to a different image? Would a Modal work?
July 30, 20188 yr You can open the a different image in a modal but you can't use the plugin for this. It doesn't work the way you want. I wrote my own code for a project like this. Or you can use one of the many solutions out there. For example: https://sabe.io/tutorials/how-to-create-modal-popup-box Most of them thought will require some hard coding on the page.
July 30, 20188 yr Author I tried to use the plugin to display a lightbox linking to the same media file and it still doesn't work
July 30, 20188 yr It probably a configuration thing Or a conflict with your custom theme The plugin works: http://testblog.co.uk/image-with-caption-border/ But it is very clunky. The one I built is much faster and lighter: https://quick-plugins.com/free-things/ultraslim-image-lightbox/
Create an account or sign in to comment