image n of m in search album

Is there a way to find "m", the total number of images in a search, and display it along with the current image "n", as "image n of m", while paging through individual images in a search album?

I see that the search.php code in the breadcrumb

$total = getNumImages() + getNumAlbums()

correctly gets the total number of images for a search, but I can not (don't know how to) pass that $total to the image.php file so that I can display it as the "m" in "image n of m".

Comments

  • acrylian Administrator, Developer
    Try the nightly, `getNumImages()` and `imageNumber()` will return the values of the search if viewing search results and not the values of the albums the results are in.
Sign In or Register to comment.