i´m trying to get the easybox image gallery plugin to work on my blog. I only have images as posts with the titel and date. you can see it here: k-im.de/blog .
now I added the following code to the loop in index.php:
<?php $thumbID = get_post_thumbnail_id($post->ID); ?> <a href="<?php wp_get_attachment_url($thumbID) ?>" title="Permanent Link to <?php the_title_attribute(); ?>" rel="lightbox-gallery1"><?php the_post_thumbnail( 'home' ); ?> </a>
but what I get as a link is this:
<a rel="lightbox-gallery1" title="Permanent Link to here is typo" href=""> <img WORKING IMG LINK /> </a>
why is the "a href" link all messed up like that? how can I add the necessary "rel=" tag to the link in the right order?