Can I open a Nextgen gallery into a lightbox from an album listing page

  1. Under Gallery Settings, set “Number of images per page” to 1.
  2. Then check the box for “Add hidden images.” This should display just the first thumbnail in you gallery, and when you click on it, you can navigate through them in a lightbox.
  3. Then you have to remove the page navigation at the bottom of that first thumbnail. There are a couple ways to do this, but the one I used is below. Locate /plugins/nextgen-gallery/nggfunctions.php Before you make any changes, you may want to make a copy of the unmodified file for later. Find the both instances of the code below and edit.

    // check for page navigation if
    ($maxElement > 0)
    

change to

    // check for page navigation if
    ($maxElement > 1)"

This will make it so that the page navigation only kicks in if you have more than one image per page (what we set in step 1).

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)