View Full Version : Searching images on/within specific webpage
mzjoannav
07-30-2015, 02:32 PM
I am using Pop up image viewer script with thumbnails. I maintain our local Sheriffs Office mug-shots and display them online weeekly. The images are numerous and I would like to be able to apply a simple search feature to 'Locate' images in the gallery, by Name.
The page I am referring to is: www.rcso.org/rcmugs.html
Thank you in advance!
Joanna
mlegg
07-30-2015, 03:30 PM
You should add an alt and title tag in the img code. example:
<img src="http://mysite.com/some-image.jpg"
width="220" height="212" alt="Kelly Jane Johnstone from Seattle Washington"
title="Kelly Jane Johnstone from Seattle, Washington" />
Beverleyh
07-30-2015, 05:56 PM
Your web page weighs 47MB!!!!!
With 1500+ images!!!
That's monstrously large for the web - over 20 times bigger than the average web page today. I recommend you switch to a dedicated gallery that breaks images down in to more manageable pages (eg - 20 images per page) so a much smaller fragment loads at a time. Look for a self hosted one that runs from a database - with an internal search feature. https://www.google.co.uk/search?q=free+photo+gallery+software+php+mysql+database+search
james438
07-30-2015, 11:53 PM
I recommend trying Ajax Pagination script v1.2.2 (http://www.dynamicdrive.com/dynamicindex17/ajaxpaginate/index.htm)
It will dramatically improve load times by saving on bandwidth and make it easier to navigate the bookings. For example each page could be a week of bookings and you could browse through and view the mug shots one week at a time.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.