This is a discussion on "hover box gallery" within the Web Page Design section. This forum, and the thread "hover box gallery are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
hover box gallery
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
hover box gallery
I am using a hover box gallery, but the images take a while to load up
www.lightex.co.uk/sarah/gallery.html If I size the images to the largest preview size,300px x 250px then they are shown quater size in the thumbnail and the preview boxes, but normal size and they take ages to load. Not too sure if I am explaining it well but the customer is not happy and I'm fresh out of ideas |
|
#2
|
||||
|
||||
|
Re: hover box gallery
You could try to preload the images using css - probably best to preload them on the home page , so that the gallery can use them later when needed
Not tried it myself, but it may speed up the page slightly
__________________
WelshStew If you think I've helped, click the "Thanks" xtreme wales - extreme clothing | extreme sports shop | cheap sunglasses WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
Last edited by welshstew; Jul 13th, 2007 at 12:05. Reason: brain to fast for my fingers to type |
|
#3
|
|||
|
|||
|
Re: hover box gallery
You really need two sets of photos. You can put them all in the same folder just as long as they have different names.
One is small 150 x 150 (guessing) and then have the full sized. Change your code to show the smaller one on opening of page and then hover over uses the full size. I used this feature well on this site. Look at my code if you want. Here is one list item
|
|
#4
|
|||
|
|||
|
Re: hover box gallery
Yep ... totally agree with this. You need a thumbnail version of the photo and the original. In your case ... you should have 3 photos for each: the really small thumbnail you show on the page, the medium sized thumbnail for the hover and the original one.
|
|
#5
|
|||
|
|||
|
Re: hover box gallery
Ah......... yes so right Karinne.. The big one is what they get when they click on the hover photo!
My client really loves this feature. I can see me using it often. |
|
#6
|
|||
|
|||
|
Re: hover box gallery
Ok have done a few things now, have done the preload
http://www.lightex.co.uk/sarah/gallery.html |
|
#7
|
|||
|
|||
|
Re: hover box gallery
That doesn't work ... how did you shrink the pic?! The picture itself is small the the entire image is still the same size as the original?!
|
|
#8
|
|||
|
|||
|
Re: hover box gallery
|
|
#9
|
||||
|
||||
|
Re: hover box gallery
Apologies, I don't think I made myself clear. By using the css preload you are downloading the pics to the visitors cache when they hit the home page (i.e. before they hit the gallery page). Then when they are called for a second time, on the gallery itself, it should be faster to load. You therefore need to move this part of the code to your clients homepage. And then get them to click on the gallery.
I agree about the images, I don't know how you have shrunk those pics, but it looked better before, it just took to long to load.
__________________
WelshStew If you think I've helped, click the "Thanks" xtreme wales - extreme clothing | extreme sports shop | cheap sunglasses WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
|
|
#10
|
||||
|
||||
|
Re: hover box gallery
I hate to be a pain, but in IE7 the larger image pops underneath the thumbs.....
__________________
WelshStew If you think I've helped, click the "Thanks" xtreme wales - extreme clothing | extreme sports shop | cheap sunglasses WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
|
|
#11
|
|||
|
|||
|
Re: hover box gallery
Shrunk images in fireworks to 300px x 250px
|
|
#12
|
|||
|
|||
|
Re: hover box gallery
Quote:
|
|
#13
|
||||
|
||||
|
Re: hover box gallery
see the attached for what I get
Stew
__________________
WelshStew If you think I've helped, click the "Thanks" xtreme wales - extreme clothing | extreme sports shop | cheap sunglasses WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
|
|
#14
|
|||
|
|||
|
Re: hover box gallery
Ok I see it and am pondering, any suggestions?
|
|
#15
|