I can not figure out how to transfer a few pictures in $ .colorbox, for example in fancybox you can do it like this:

$.fancybox.open([ { href : 'http://fancyapps.com/fancybox/demo/1_b.jpg', title : 'manual 1st title' }, { href : 'http://fancyapps.com/fancybox/demo/2_b.jpg', title : '2nd title' }, { href : 'http://fancyapps.com/fancybox/demo/3_b.jpg', title : '3rd title' } ]) 

This jsfiddle example

an array with pictures is transferred and we will immediately open 3 pictures

How to do the same in the colorbox?

Colorbox link

    1 answer 1

    In general, it is impossible to do this in the colorbox https://github.com/jackmoore/colorbox/issues/800