NextGEN Gallery
Open Album Directly in Lightbox (2 posts)

  1. ringishpil
    Posted 2 years ago #

    Hi guys,

    I need a solution how to OPEN an ALBUM into a slideshow (shutter) and not in the album page.

    I know it can be done with galleries, but I am using galleries for something else on the same website and I cant do it from the OPTIONS panel.

    One thing that came across while searching was this:

    div.ngg-gallery-thumbnail-box { display:none; }
    div.ngg-galleryoverview div:first-child { display:block; }

    Which works GREAT! But the thing is the images are still loading, and I have quite much images and I cannot afford to load them all and then hide them with css. It has to have other way around.

    I was trying to modify album-extend.php but no effect. I was thinking something about modifing line 26 from from album-extend.php which is

    <a href="<?php echo $gallery->pagelink ?>"><img class="Thumb" alt="<?php echo $gallery->title ?>" src="<?php echo $gallery->previewurl ?>"/></a>

    It links to a new page with the following structure: example.com/page-where-album-is/?album=123&gallery=123

    There has to be some way or some custom function to be written to return the images from the album in lightbox not a new page.

    But maybe there is another solution I dont know yet.

    Any thoughts?


  2. mvandemar
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic