Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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(); ?>

    Could it be that easy that it is just to put

    [gallery=file]

    In the right place?

    But can′t understand where…

    Great question – i am in the middle of the same quest – can′t seem to figure out how to resolve this problem.

    I am running a easy photo-blogg – which i am striving to get completely flat.

    On the front page i have one thumbnail from each post which i manually chose with a “custom field” commando. By cliquing this thumbnail you get to the actual post with the image gallery – and then clicking any picture in this gallery opens the Lightbox Plus (great plug-in btw!).

    I would like to achieve that by cliquing a Thumbnail on the front page opens the correct gallery with the lightbox plus feature.

    I am more or less a primary school child when it comes to PHP-programing, so please excuse my lack of knowledge.

    In many of my PHP file there is a string that looks like this that seems to control what the “thumbnail” is going to do…

    im using the F8 theme from Graphpaperpress…

    Grateful for any answer that puts me in any direction…

    <?php
    	$values = get_post_custom_values("thumbnail");
    	if (isset($values[0])) {
    ?>
    <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(); ?>
Viewing 3 replies - 1 through 3 (of 3 total)