Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #404365

    Hi
    I am looking for some other lightbox plugins. I like the Responsive Lightbox, yet I found it doesn’t not work with the image link/gallery constructed by Advanced Layout Builder. (No problem with the image/gallery by default editor.)

    I wonder if there’s a way to solve this?

    #404784

    Hi yuskydog!

    We currently use the magnific popup, http://dimsemenov.com/plugins/magnific-popup/.

    Do you have a specific plugin your wanting to use?

    Cheers!
    Elliott

    #404949

    Hi
    If there’s possibility that I can disable magnific popup’s continuous function, which allows continuous navigation, moving from last to first and from first to last slid, of a gallery? And is it likely to darken the lightbox’s fullscreen background color? Also customization of the fade effect?
    Thanks!

    • This reply was modified 9 years, 9 months ago by yuskydog.
    #405414

    Hey!

    If you want to remove the gallery feature of the popup then delete lines 853 – 860 in /enfold/js/avia.js.

    gallery: {
    	// delegate: 	options.autolinkElements,
    	tPrev:		'',
    	tNext:		'',
    	tCounter:	'%curr% / %total%',
    	enabled:	true,
    	preload:	[1,1] // Will preload 1 - before current, and 1 after the current image
    },
    

    And add this to your custom CSS to darken the popup background.

    .mfp-zoom-in.mfp-ready.mfp-bg, .mfp-zoom-in.mfp-ready .mfp-preloader { opacity: 0.9 !important; }
    

    Regards,
    Elliott

    #405543

    Hi
    I didn’t mean to kill the gallery feature, I just want to:
    1. Let the gallery stop at the last picture instead of looping to the first.
    2. At the first picture, avoid jumping to the last picture if pressing the previous button.

    The css to darken the popup background works!
    Thanks!

    #406010

    Hey!

    Hmm, doesn’t look like the script has that option, http://dimsemenov.com/plugins/magnific-popup/documentation.html#gallery.

    You might need to hire a freelancer to help you out with that customization.

    Best regards,
    Elliott

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.