Gallery and Open in Lightbox not open - Forum | JoomShaper
Solved SP Page Builder

Gallery and Open in Lightbox not open

Asked by George 5 years ago Last activity 5 years ago

Hello, I have a site under construction in localhost. I tried to place an image with "Open In lightbox" and a gallery, and when I click on the images, neither the lightbox is opening nor the gallery. In both situations it just opens it as a new page in the same tab.
Can you provide me any solution?

Accepted answer

Marked as the solution
Rashida Rahman Staff

Hi there!

Sorry for your issue.

Which addon you have tried for this? gallary addon or image addon?

Can You give me screenshots of the settings and sreencast of the whole issue, please?

Best Regards

9 more replies

George Asked this

I used both of them, Gallery and Image addon,
The first screenshot shows that the gallery is shown correctly as thumbnails
The second one is when the first image is clicked. It opens the pictura as file, as I can see through the URL that.

Rashida Rahman Staff

Sorry, but I could not find any screenshot in your replay.

Would you please check?

However, you can use any free online tool to upload your image and then share just the link here.

For ex. https://imgur.com/upload

Rashida Rahman Staff

Thanks for the screenshot:)

Which template you are using, please?

I have tried Gallary addon in my local and it is working as expected. Here are some related addons indecated: https://prnt.sc/1mzyx8u

However, the Image addon doesn't have the option to choose if the image opens with a new tab/window wheras Image Layout addon has this option as follows https://prnt.sc/1mzq8wg. And the Image content addon has similar option for the button link inside the addon: https://prnt.sc/1mzr6pv

Best Regards

George Asked this

hello, thank you for your quick response. unfortunately the problem is not on that. it must be a corrupted file or code line in js. if you might know where page builder sees the jQuery it would be great help

Rashida Rahman Staff

With the gallery addon images normally opens in a lightbox. So, if it doesn't work as expected then it seems reason can be the addon overrided within the template, that is why I was asking the template name.

However, it is tough to search for the reason without looking into your backend.

If it is convenient for you, then please give me a full Akeeba backup of your site here.

George Asked this

Hello, I found it!
Just to help other people...
The reason was that I had loaded in the past another Jquery for a pop up window in hikashop.
The conflict was in the file templates/shaperhelix3/js/jquery.nav.js in line 108
The error was Uncaught TypeError: $link.attr(...) is undefined so I changed in line 108 the "attr" with "prop". Thanks to stackoverflow...!

Rashida Rahman Staff

Thanks for sharing your experience with us. And glad that the issue is solved now:)

Marin

Hello, I have the same problem with my web. Images wont open in lightbox. Colud you help?

Log in to reply.