Active
Project:
Views Galleria
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Jul 2009 at 18:39 UTC
Updated:
2 Nov 2009 at 20:13 UTC
Jump to comment: Most recent file
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
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | galleria_options.js_.patch | 974 bytes | hovel |
Comments
Comment #1
hovel commentedI 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