Sorry for just crashing the discussion – but i have the exact same problem.
@loomeinimene
Great pointer
So basically just add rel=”lightbox”
– thanks i am also using the Lightbox Plus.
But i can′t seem to get it to work properly at what i am aiming. I have a front page with some thumbnails that trough a custom field in the post gets published on the frontpage. What i would like to do is to make a clique on this thumbnail, directly from the front page, to open the correlated post′s “image gallery” as a lightbox plus slideshow.
I followed your tip to change rel="bookmark"
to "lightbox"
, this seems to be the right way to do it, the problem is that the whole page with the header and the image gallery gets in to the lightbox, and not the actual images.
Grateful for any answer – merry x-mas from Sweden.
The complete code looks like this:
<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><img src="<?php $values = get_post_custom_values("thumbnail"); echo $values[0]; ?>" alt="" /></a>
<?php } ?>
<?php the_excerpt(); ?>