WordPress.org

Ready to get started?Download WordPress

Forums

Mixing NextGen Gallery and Lightbox (5 posts)

  1. tuztak
    Member
    Posted 3 years ago #

    Hi there

    Is there a way to open NextGen™ galleries with a lightbox? As the former is handy for creating thumbnails in a batch but for viewing i prefer lightbox as it looks a bit nicer....

    I reckon I need to edit some of the nextgen php files but I cant find which one and which line to replace the "open" command.....

    Any help on this would be GREATLY appreciated!

    Cheers

  2. tuztak
    Member
    Posted 3 years ago #

    Any takers on how to combine these two plugins?

  3. tuztak
    Member
    Posted 3 years ago #

    In case I havent made myself clear, by "opening nextgen galleries" I mean viewing pictures from the frontend.....

  4. Emphasis
    Member
    Posted 3 years ago #

    I did it like this
    1. Create the lightbox groups you normally do
    2. Make a nextgen gallery as well, with the same pics

    Then go to the nextgen source, and copy all the gallery stuff, make a new page and copy all of it to the HTML part.

    Then mix in the lightbox group code as you usually do.
    So first you have some "div id" "div class" and "a href". right before "title" and after the link to your image, you put in the lightbox code:

    rel="lightbox[yourgroup]

    Only problem is the space between the thumbnails, somehow it became much wider for me.

  5. Emphasis
    Member
    Posted 3 years ago #

    I just realised there's an option in the NextGen plugin.
    Just go Gallery > Options > Effects

    and change Shutter to Lightbox. Easy peasy.

Topic Closed

This topic has been closed to new replies.

About this Topic