Gallery Image Loading

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
HarryCornelius
Forum Members
Forum Members
Posts: 34
Joined: Thu Mar 29, 2012 12:47 pm

Gallery Image Loading

Post by HarryCornelius »

Hello all

I have Gallery 2.0.1 running on CMSMS V.1.11.11. I'm using it in a carousel on my site homepage, referencing 'responsive-carousel' template, which draws in the image from CGSmartImage.

It's all working fine other than the images initially appear stacked on top of one another - i.e. it tries to load them all before rendering the slideshow.

Does anyone know why it's doing this, and perhaps have any ideas?

many thanks,
Harry
Jos
Support Guru
Support Guru
Posts: 4017
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: Gallery Image Loading

Post by Jos »

You can solve this by putting an overflow:hidden in the css of the surrounding div
HarryCornelius
Forum Members
Forum Members
Posts: 34
Joined: Thu Mar 29, 2012 12:47 pm

Re: Gallery Image Loading

Post by HarryCornelius »

Hello

Thanks for getting back - I've tried that and it's still doing it - the page is at:

http://www.jubilee-webdesign.co.uk/index.php

Many thanks,
Harry
Jos
Support Guru
Support Guru
Posts: 4017
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: Gallery Image Loading

Post by Jos »

Ok, maybe you need to add a fixed height on the same div too: height: 312px;
HarryCornelius
Forum Members
Forum Members
Posts: 34
Joined: Thu Mar 29, 2012 12:47 pm

Re: Gallery Image Loading

Post by HarryCornelius »

Hello

Just tried that, and it is still doing it. Is there anything else I can try?

Thanks,
Harry
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Gallery Image Loading

Post by Dr.CSS »

You might want to fix your image calls first, then tell whatever container they are in to display: none till the JS kicks in...

Note the } in the image src...


<img src="***********/uploads/images/Gallery/Homepage/g4g1.jpg"}" alt=""/>
Post Reply

Return to “Modules/Add-Ons”