Jquery galleryView loading issues: loader image not displaying, taking awhile

Posted by Dustin on Stack Overflow See other posts from Stack Overflow or by Dustin
Published on 2010-04-16T17:46:24Z Indexed on 2010/04/17 16:43 UTC
Read the original article Hit count: 574

Filed under:
|

I've got an online portfolio that I'm putting up:

Image Gallery

I've got a php script that selects at most 15 images from a database that contains the urls for the images. e.g.

foreach ($database->result as $img) { echo '<a href="path/to/image/' . $img . '">'; ?>

When the page first loads, the scroll bar expands as if it is loading invisible images (indeed I think that's what it is doing). Then the javascript kicks in and the gallery loads. I have two questions: first, the image loader is not displaying at all. I don't mind if it takes a bit, as long as the user knows the images are loading. Any ideas why it's not showing up?

Second, is there a way to speed up the process? Thanks in advance for the help!

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about galleryview