zenphoto forums » Usage Support

Can search display albums & images on a single page?

(4 posts)
  • Started 3 years ago by bryanbrazil@msn.com
  • Latest reply from bryanbrazil@msn.com
  1. bryanbrazil@msn.com

    Junior
    Joined: Oct '09
    Posts: 5

    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!

    Posted 3 years ago #
  2. bryanbrazil@msn.com

    Junior
    Joined: Oct '09
    Posts: 5

    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!

    Posted 3 years ago #
  3. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,768

    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.

    Don't forget to read the Forum rules and usage resources
    Posted 3 years ago #
  4. bryanbrazil@msn.com

    Junior
    Joined: Oct '09
    Posts: 5

    Figured it out. I was missing the following:


    <?php
    if (!defined('WEBPATH')) die();
    $startTime = array_sum(explode(" ",microtime()));
    $firstPageImages = normalizeColumns(1, 7);
    ?>

    Thanks!

    Posted 3 years ago #

RSS feed for this topic

Reply

You must log in to post.