Forums
Home / Plugin: Multi Image Metabox / how to combine with rel=lightbox
(@mazbowo)
8 years ago
I tried to insert rel light box to show images. how to get all ids with lightbox function
thanks for great plugin
https://wordpress.org/plugins/multi-image-metabox/
I use this code to show all images
<?php foreach (get_multi_images_src( ‘thumbnail’, ‘large’) as $k => $i) { echo ‘<img src=”‘.$i[0][0].'” width=”‘.$i[0][1].'” height=”‘.$i[0][2].'” />‘; } ?>
prettyphoto works smooth, but when i click on pict thumbnail its only showing one picture not all image attachment..
best regards…mazbowo