Hi. A newbie Blocs user here. Loving what I’ve created so far, but I can’t get my Lightbox galleries to work. I followed the instructions in this video, but nada!
I have two galleries - one called France, and one called Italy. Each gallery has a hero image, with six more images that I want to appear in each Lightbox. I’ve set the Interactions settings for all the images to Type: Lightbox; and the Gallery is set to either italy or france.
When I toggle the View Mode, Preview in Browser, or do a Quick Export, and click the hero image for a gallery nothing happens
I’m sure I’m missing a trick somewhere. Do I have to create and assign a class? Or download a script for this feature to work? Or can someone point me at some instructions on what I want to do.
I do see an occasional quirk in blocs when galleries don’t display correctly when set up as described in the video. Firstly, make sure that your lightbox setting are set to display CURRENT IMAGE - sometimes it sets itself to alternate image. If that is not the issue, save your project and close Blocsapp. Reopen your project and the galleries should work just fine.
FYI: I created a new Blocs file this afternoon and was able to build a lightbox gallery using the same assets without any problem. However, I still can’t get the lightbox to work with my test site. So obviously the issue is with my Bloc file, and not the application. If I manage to fix the issue I’ll let you know.
I’ve now isolated what my issue with the Lightbox gallery is.
Using the test file I created yesterday, which has a Lightbox gallery that works as expected, I then added a new page with a basic structure Bric. I then added the Swiper bric to it, that I bought from @Lucas. When I previewed the site, the Lightbox gallery doesn’t function anymore. I then deleted the page with the Swiper bric on it, and the Lightbox gallery works again.
There is obviously some script conflict somewhere, between the Swiper bric and the Blocs app. I’d thought I’d share this information with others who maybe trying to use the same combination of features, so you are at least aware of this bug.
Hi @DerekDigital I managed to spot the issue, Swiper it is indeed hiding the lighbox and may occur in other pages in that don’t include Swiper. I’ve already fixed the issue here and will upload a new version later today.