Preloading images for gallery
I am developing a website for my budding photographer son, Tom, and I
want to provide an gallery where the user clicks on a thumbnail and this
displays a larger image.
The only way I see that I can do this is to have a link on the thumbnail to load the page again passing the image name or id to the page using a query string and processing this using PHP.
If I preload all of the larger images when the site first loads will these images be available in the cache for other pages.
Another way is to hover the thumbnails and display the larger image but I need to find a way to keep the image displayed until the user hovers over another thumbnail.
I am reluctant to start until I have it clear in my mind.
Any ideas anyone?