-
-
Hello,
I am trying to open a photo gallery with wpbakery gallery element. At first I had problem with lightbox but after this thread I managed to solve it somehow (it does not display the search icon). When I click on image the lightbox loads but redirects to image link. You can see the issue here. How I can solve this?
-
Hello,
I need to give a closer look to the page you are having this and theme files. Please make sure first to have the latest version of theme. Did you try using Codeless Buidler instead? Theme’s main builder is Codeless Builder and all features are build and customized in it’s files.
Please try adding the gallery like this and them let us know if you’ll have any issue.Best regards!
-
Hello,
Please send us some valid wp credentials in a private reply. So we can give it a closer look.
Best regards!
-
-
Hello,
I see you have an old version of theme. The latest one is vs 1.5 and it has included an updated version of Codeless Builder as well.
Please update theme first, and all it’s included plugins. It’s very important because there are many important changes included in them.
Then if the issue persists, i can log in and check out the files and fix it.
Let us know.Best regards!
-
Hello again,
I never got info from themeforest about the update. Anyway I updated to latest version, but the issue persists.
-
Hello,
Please deactivate all third party plugins and try again. Can you enable the ‘Editor’ in Appearance menu? So i can check the files.
Thank you!
-
Hello,
I disabled all the plugins except Codeless Add External Media, Codeless Builder, WPBakery Page Builder but the same thing happens (redirects to image source). I enabled the editor in Appearance menu.
-
Hello,
I fixed it.
I edited this line:
linkElement : 'a:not([target="_blank"]):not([href^="#"]):not(.lightbox-gallery):not(.entry-link.lightbox):not([class^="ilightbox-"]):not(.zoom):not(.prettyphoto)'
To this:
linkElement : 'a:not([target="_blank"]):not([href^="#"]):not(.lightbox-gallery):not(.entry-lightbox):not(.entry-link.lightbox):not([class^="ilightbox-"]):not(.zoom):not(.prettyphoto)'
We will include the changes in the next theme update so you won’t have to worry to redo them again.
Please clear cache and refresh page.Best regards!
-
Thank you for your support. Now it is working. I can see one more mulfunction on lightbox gallery. When I scroll with mouse wheel it leaves the previous image like a clone (probably a css issue).
-
Hello,
Are you referring to the thumbnails in the right side? That is part of gallery styling. It’s not a bug.
Best regards!
-
Hello,
It is not plugins effect. On first image you see the right behaviour which happens when I click on the second image. On the second image (which happens on mousewheel scroll) you can see that it leaves a clone of the image that is on the main screen.
Wrong Behaviour
-
Hello,
The second images is not linked. I can not see what you mean by “Wrong behavior”. This is what i get when i scroll thru the gallery in your site: https://postimg.cc/image/3k7o7x3gn/
This type of image duplicate, is part of the gallery style. Are you referring to this?Best regards!
-
Hello,
I am really sorry, something went wrong with pasting the link. Here is the working one.
The image that you attached is not working.
-
Hello,
Yes, that was the exact thing i screenshot-ed and that is indeed part of gallery lightbox style.
Best regards!
-
Hello again,
As you can see now, the gallery is working. The error was that the following code was running thrice for some reason.
CL_FRONT.components.loadDependencies( [ codeless_global.FRONT_LIB_JS + 'jquery.requestAnimationFrame.js', codeless_global.FRONT_LIB_JS + 'jquery.mousewheel.js', codeless_global.FRONT_LIB_JS + 'ilightbox.packed.js' ], function() { el.iLightBox({skin: 'light'}); } });
I couldn’t find (I didn’t have the time to track all calls) why it loads thrice on every page, I just fixed it temporarily. I wanted to inform you about this error.
Thanks again.
-
Hello,
This is the default layout of the lightbox, but for everyone that wants to customize it, your code is very useful.
Thank you for sharing!Best regards!
-
You must be logged in to reply to this topic.