I am using prettyphoto, in that i can able to open single image as a prettyphoto on a button click. But I need the mutiple images to be open as prettyphoto on a button click.
here is the code i'm used. In this $image_src_cb1
is an array.
<?php $html .= $button_class_wrapper_open . "<a class='" . $button_class . $button_animation_class . $prettyphoto_class . "' data-rel='" . $pretty_photo_rel . "' href='" . $image_src_cb1 . "' ><span class='cover_boxes_button_text text_wrap'> " . $link_label1 .'</span>'. $button_icon . "<span class='a_overlay'></span></a>" . $button_class_wrapper_close;
can anyone give me suggestion to open multiple images on button click.