Forums
(@mazbowo)
8 years, 4 months ago
it’s my code…combine attachment navigation light box <?php $my_upload_images = get_post_meta( $post->ID, ‘my_upload_images’, true ); if ( $my_upload_images ): foreach( $my_upload_images as $key => $img_id ):
if(wp_get_attachment_url($img_id)) { ?> ” rel=”lightbox[gallery-0]”><?php echo wp_get_attachment_image($img_id , array(100,100)); ?> <?php } endforeach; endif; ?>
thanks…it workssss……
8 years, 7 months ago
okey….im waiting… maybe do you have clue sirr
solved….thanks
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