Is there a way to prepend a loading gif to Galleria? If so, what would need changing? The actual Galleria.js plugin or galleria.js.

This is what I would like to do:

I want galleria to display only after it has completely loaded the images as it looks really messy for a few seconds in IE.

Are there any ideas on how to acheive this: Hide the contents of Galleria first, then display a loading gif to indicate it is loading the contents?

Any suggestions on how to achieve this would be great!
Thanks

Comments

Mark Theunissen’s picture

I'm not sure, you may have more success getting support from the creators of the actual Galleria plugin for this task.

fallsemo’s picture

Thanks for the reply.

Yeah, I checked support off the Galleria forums and there's really only a loading bar solution but it requires Jquery UI and Jquery 1.3 :(

I tried wrapping the script with a loading.gif myself but for some reason, any version of IE continues to load galleria and does not complete - so I'm left with my loading.gif still spinning over the image.

This load issue even effects the sites example http://devkick.com/lab/galleria/demo_01.htm.

Mark Theunissen’s picture

Yeah... sorry but it's a hugely frustrating issue for me trying to massage these things into working together. ;)

You could try looking at the Lightbox source and see how they implement their loading images. No doubt there's a trick somewhere.

fallsemo’s picture

That's a good idea.

I will post a follow up if I come up with a solution.

Thanks again

Mark Theunissen’s picture

Status: Active » Closed (won't fix)
eromba’s picture

My patch for #436354: Galleria images load full size and stack down the page hides the image list before Galleria is loaded. You can also check out my patch for #444948: Galleria flickers when changing images, which makes image transitions smoother. Using them together, I bet you'll find that a loading animation isn't even necessary.