Showing image
-
Hello,
I have a gallery that The plugin does not automatically add lightbox to.
The code I have is this:<a rel="lightbox" href="<?php $image_id = get_post_thumbnail_id(); $image_url = wp_get_attachment_image_src($image_id,'large', true); echo $image_url[0]; ?>"><?php echo $t->image->resizedImg( $item->img, 1140, 0 ); ?></a>Bt this shows the post thumnail, while I want the lightbox to show the same image as the image that has the link.
Is this possible?
Greetings,
marcel
The topic ‘Showing image’ is closed to new replies.