Can search display albums & images on a single page?

The way search works on my site now, album and image search results are displayed on separate pages. So if the results are 1 album and 7 images, the album will be displayed on the first search results page, and the images will be displayed on the second page.

What I'd like to do is have the albums and images displayed on one page. Is this possible?

Thanks!

Comments

  • Alternatively, is it possible to have all the photos in an album show up in the search results for the album name.

    For example, I have many photo in the folder National Parks/Yosemite. If I search for "Yosemite", however, only the few that are named Yosemite are displayed. In the search options, I have the "file/folder name" field checked, but all the photos in the Yosemite folder aren't returned when searching for "yosemite".

    Thanks again!
  • Well, since the themes distributed with Zenphoto place the albums and images on the same page (presuming they fit) I don't see why not.
  • Figured it out. I was missing the following:

    `

    <?php<br />
    if (!defined('WEBPATH')) die();

    $startTime = array_sum(explode(" ",microtime()));

    $firstPageImages = normalizeColumns(1, 7);

    ?>

    `

    Thanks!
Sign In or Register to comment.