Zurvan
08-28-2007, 03:28 PM
I'm designing a photography website for a friend. One of the things that he's insisting on is that the site load quickly, and not re-load as people move between images. No Flash, either.
To give an idea of the setup:
On the gallery screen, there's a strip of 5 thumbnails, with a main viewscreen showing one image full size. As they click on thumbnails, the main image changes, as expected. They can scroll through the thumbnails to select a new picture. Again, nothing fantastic there. I'm planning on using Javascript for this, unless somebody has an alternate suggestion that I haven't considered.
So, here's the issue:
He has big, high quality images. He's a photographer, and he wants to highlight his work. Some of his categories have up to 40 photos. We obviously don't want to wait while they all load (and thumbnails) before showing the page. What I would like to have happen is for it to load the first 5 images & thumbnails, and allow the visitor to begin looking at and navigating the page, while the remainder of the images load in the background.
So, I know what I want, but have no clue how to do it. I only know the basics of Javascript, and it has been ages since I've had to do anything more complex than a popup. :rolleyes:
Does anybody have any suggestions / libraries / tutorials to get me moving in this direction?
If you happen to know of a good library that will handle the scrolling thumbnails, that would be awesome, too.
Thanks in advance.
To give an idea of the setup:
On the gallery screen, there's a strip of 5 thumbnails, with a main viewscreen showing one image full size. As they click on thumbnails, the main image changes, as expected. They can scroll through the thumbnails to select a new picture. Again, nothing fantastic there. I'm planning on using Javascript for this, unless somebody has an alternate suggestion that I haven't considered.
So, here's the issue:
He has big, high quality images. He's a photographer, and he wants to highlight his work. Some of his categories have up to 40 photos. We obviously don't want to wait while they all load (and thumbnails) before showing the page. What I would like to have happen is for it to load the first 5 images & thumbnails, and allow the visitor to begin looking at and navigating the page, while the remainder of the images load in the background.
So, I know what I want, but have no clue how to do it. I only know the basics of Javascript, and it has been ages since I've had to do anything more complex than a popup. :rolleyes:
Does anybody have any suggestions / libraries / tutorials to get me moving in this direction?
If you happen to know of a good library that will handle the scrolling thumbnails, that would be awesome, too.
Thanks in advance.