It is also possible to give an array with multiple objects to open a lightbox with a gallery.

var lb = $.bbLightbox([
	{ type: 'image', src: 'image1.png' },
	{ type: 'image', src: 'image2.png' }
]);

lb.open();