Viewing 1 replies (of 1 total)
  • Thread Starter jamalissimo

    (@jamalissimo)

    Didn’t have time to investigate photo gallery plugin. I used nextgen gallery and I am getting images from gallery with this:

    $gallery = $nggdb->get_gallery($_POST["gall_id"], 'filename', 'ASC', true, $_POST["limit"], $_POST["offset"]);
      foreach($gallery as $image) {
          echo '<a href="'.$image->imageURL.'" rel="lightbox">';
    	echo '<img src="'.$image->thumbnailURL.'" alt="'.$image->alttext.'" title="'.$image->description.'">';
          echo '</a>';
      }

    Hope it will help somebody 😉

Viewing 1 replies (of 1 total)

The topic ‘Custom paginator’ is closed to new replies.