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" tierney rides tboard - uk site | xtreme wales - extreme clothing WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
Last edited by welshstew; Jul 13th, 2007 at 11: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" tierney rides tboard - uk site | xtreme wales - extreme clothing 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" tierney rides tboard - uk site | xtreme wales - extreme clothing 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" tierney rides tboard - uk site | xtreme wales - extreme clothing 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
|
|||
|
|||
|
Re: hover box gallery
Is your z-index set at 1?
|
|
#16
|
|||
|
|||
|
Re: hover box gallery
Hi, acrikey. Had a look at your site and the download times are diabolical. You haven't shrunk some of the pictures filesize-wise i.e. some are straight off the camera at over 2mb EACH, and some reported corruption errors.
If you want a good hover graphics gallery, go here: http://sonspring.com/journal/hoverbox-image-gallery and look at the example, then download it. In essence, say you want your main pic at 200 x 150: edit it to that size so that it's only a few kb in size. You are only going to use one image per frame. That one image is previewed at - say - half that size using CSS to scale. Simple. Here's the meat of the CSS (you'll see the rest in the downloaded .zip): Quote:
Hope that helps. Oh, and some HTML: Quote:
Last edited by matelot; Jul 15th, 2007 at 10:37. |
|
#17
|
|||
|
|||
|
Re: hover box gallery
Ok, this is frustrating me, I have managed to get the hoverbox back on top in firefox but in IE still loosing.
Any help or advice would be very very very appreciated. My CSS code is http://www.lightex.co.uk/sarah/CSS/hoverbox.css if anyone needs to see it HELP! |
|
#18
|
|||
|
|||
|
Re: hover box gallery
Do you have a separate stylesheet for the IE.css?
|