I am looking for a simple image gallery module for a new website. Views_Galleria seems prommissing. only...

On IE (6/7/8), the main image does not display after the page load. Only after clicking on one of the thumbs, the main image pops up up.
When checking the source before clicking one of the thumbs, the expected html is missing:

<div class="galleria_container"><div class="galleria_wrapper"><img src="http://mydomain.com/sites/mydomain.com/files/imagecache/field_thumb/_DSC4707%2000.jpg" class="replaced" title="Next image >>" style="cursor: pointer;"/></div><span class="caption" style=""/></div>

Is there a solution for this?
Thanks
hovel

CommentFileSizeAuthor
#1 galleria_options.js_.patch974 byteshovel

Comments

hovel’s picture

StatusFileSize
new974 bytes

I found a solution in http://code.google.com/p/galleria/wiki/Options See Comment by eric.appel, May 16, 2009.

I have implemented this as follows:

I file:
galleria_options.js

add following lines:
var firstItem = $('ul.galleria li:first').addClass('active').find('img').addClass('selected');
$.galleria.activate(firstItem.attr('src'));

Before this line (line53):
// when the ajax call is complete, load galleria - used when viewing in a lightbox!

Attached is a patch file.

Regards,
Hovel