Member
Member
marcov   2008-12-22, 16:34
#1

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".

Administrator
Administrator
acrylian   2008-12-22, 16:47
#2

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.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.