• Resolved Timeout

    (@farcasterwien)


    Hi,

    i would like to place more than one gallery on one single page – one in the content area and one in the footer. Problem is, that when i click on one thumbnail all the images from both galleries are shown in the lightbox.

    Is there any possibility to seperate them?
    Like with an additional param in the shortcode [foogallery id=”1234″ group=”imagegroup1″]?

    Thanks for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author bradvin

    (@bradvin)

    Hi

    Can you link to your page? Are you using FooBox?

    Thread Starter Timeout

    (@farcasterwien)

    Hi,

    no, i am using the Responsive Lightbox from dFactory and i solved the problem with a small javascript to group the galleries… ??

    	if($('[id^=foogallery-gallery-]').length) {
    	
    		$('[id^=foogallery-gallery-]').each(function() {
    			var galId = $(this).attr('id').split("-").pop();
    			$('.foo-item a', this).attr('data-rel', 'lightbox[gallery-'+galId+']');
    		})
    	}
    

    I am having the same problem.

    Can you advise where I need to implement this JS please?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multiple galleries on one page?’ is closed to new replies.