Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #4400

    Hi There-

    I would like to alter the code so that when you click on the Preview Image I would like also to be able to scroll through the other images that are on the pages. I am sure there must be a way to do this, though I don’t know how.

    The code for the preview located on the single.php is:

    echo ‘<div class=”entry-previewimage rounded preloading_background”>’;
    echo $preview_image;
    echo ‘</div>’;


    Kind Regards,




    just add


    to your image links within the post.

    I.e. the code would look like:

    <a rel="lightbox[grouped]" href="" title="Apple rebrands" >
    <img src='' alt='' title='Apple rebrands to Banana!' height='180 ' width='180' />


    hmmmm… that seemed a little too easy…. That worked liked a charm… Thanks a bunch… ;-)


    Glad that I could help you :)


    so this has worked out great,…. is there not anyway to get it to do it automatically when i add an image. it seems cumbersome to have to add this code manually every time i add an image to the page.?!?!?!


    You can try plugins like: to add the rel attribute automatically.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Lightbox to Show Preview Image AND other images on Post’ is closed to new replies.