• I am trying to use fancybox directly from the front page of the Tanzaku theme for wordpress.

    What I would like to do is click on one of the images in the grid on the front page so that fancybox opens and displays the rest of the images in that post? Currently when you click the image it opens but displays the other images on the front page, not in that post…

    see here. blog.davidsidhom.com

    cheers

    Dave

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter deedigidog128

    (@davidsidhom)

    This sorts out using lightbox for images on the front page.
    in your index.php file find this:

    // [grid image link setting]
    $flg_img_forcelink = false; // add/overwrite a link which links to a single post (permalink).
    $flg_img_extract = false; // in single post page, extract thumbnail link to an original image.
    $flg_obj_fit = ‘large-fit’; // none | small-fit | large-fit … how to fit size of object tag.

    Make sure that image forcelink = false
    and that you have fancybox plugin instaled, and it should work…

    Still cant work out how to make the images in that post display in a gallery from the front page tho. = )

    D H

    (@darrenholmes)

    David, thank you for this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using Fancybox/lightbox directly from the front page of the Tanzaku theme’ is closed to new replies.