Elxis CMS Forum

Extensions => Components => Topic started by: miskei on May 18, 2012, 17:51:09

Title: IOS Gallery, no slimbox in IE
Post by: miskei on May 18, 2012, 17:51:09
Hi,
I am trying to set up a gallery with the lightview. It works great everywhere but not in IE. IE9 I tried. The pictures just open in a new page, no navigation or anything. Anybody seen this before?
Thanks.
Title: Re: IOS Gallery, no slimbox in IE
Post by: miskei on June 12, 2012, 11:40:37
Hi, sorry about the bump. Would anybody have a tip on this?
Title: Re: IOS Gallery, no slimbox in IE
Post by: webgift on June 12, 2012, 15:33:43
IOS Gallery component use 2 different display methods. Gallerific (jQuery) and Lightwindow (prototype). The issue that you have already mentioned it may be caused by a javascript conflict errors or IE9 doesn't support the certain technology any more. Can you please provide us a live url?
In any other case : You can use either the Gallerific display method or you can add a new one display method by editing the source code of the IOS Gallery component.
Title: Re: IOS Gallery, no slimbox in IE
Post by: miskei on June 13, 2012, 11:37:41
Hi, thanks for reacting. The gallery is here: http://www.loveckasmecka.cz/gallery/
Please check it out, I'm on a mac and I don't have IE at hand so please let me know how it works for you. Thanks.
Title: Re: IOS Gallery, no slimbox in IE
Post by: apkoutsou on June 13, 2012, 14:00:06
I'm running FF on linux (Mint 11) without any problems. The gallery works great for me.
Title: Re: IOS Gallery, no slimbox in IE
Post by: miskei on June 13, 2012, 14:03:27
Thanks, FF worked fine wherever I tried. It's IE that is causing problems.
Title: Re: IOS Gallery, no slimbox in IE
Post by: webgift on June 13, 2012, 16:21:35
You use an outdated version of Lightview Javascript Language. As i can see it's 2.4.0.4 version. IE9 issue fixed (as it seems) on version 3.1.0. So you need to update it. The current version is 3.1.6 : Download (http://projects.nickstakenburg.com/downloads/download/4). It's totally recommended the update of this script must be done by an advanced user. 
Title: Re: IOS Gallery, no slimbox in IE
Post by: miskei on June 13, 2012, 17:53:55
You got me on that one. I was trying to just replace the js and the css file but that doesn't do it. I never had the spinners and excanvas files before, I guess that's why. Do I need to change somewhere in the component the way it calls the js file and keep the folder system as I downloaded it? Has anybody done this update yet? Bit lost but I keep trying. In case I figure it out I'll post it here just in case somebody else would be facing this.
Title: Re: IOS Gallery, no slimbox in IE
Post by: miskei on June 13, 2012, 18:13:40
OK, I tried to change the paths to lightview in the gallery.php. The result is that in FF the pictures come up zoomed out in a grey frame but no controls. In Safari they open in a new window like the original problem in IE. Any ideas?
Title: Re: IOS Gallery, no slimbox in IE
Post by: miskei on July 02, 2012, 10:26:10
OK, I managed to call the new scripts, I had to delete the old ones, now the pictures come up in a nice frame but no navigation or description. I guess the two should be combined somehow. Would anybody know how?
Title: Re: IOS Gallery, no slimbox in IE
Post by: webgift on July 02, 2012, 10:49:32
As i can see it doesn't work on IE 9.0.
Title: Re: IOS Gallery, no slimbox in IE
Post by: miskei on July 02, 2012, 12:31:22
Oops, sorry, I tried it on another gallery. Please check this. http://www.huntingczech.eu/gallery/lovy/
Thanks.
Title: Re: IOS Gallery, no slimbox in IE
Post by: webgift on July 02, 2012, 12:50:25
Ok! You should read now the documentation of LightView in case of displaying a Gallery. In this way you will give the image navigation feature to visitors.
Title: Re: IOS Gallery, no slimbox in IE
Post by: miskei on July 03, 2012, 11:34:17
OK, I managed the title, description and close functions but I still don't get the navigation.  I have this for controls: controls: { type: 'relative', slider: { items: 5 }, close: 'relative' }, not sure what else I should change.
Title: Re: IOS Gallery, no slimbox in IE
Post by: webgift on July 03, 2012, 12:03:50
Please take a look at the LightView usage here : http://projects.nickstakenburg.com/lightview/documentation/usage
Header : Groups. Your HTML must be like the examples.
Title: Re: IOS Gallery, no slimbox in IE
Post by: miskei on July 03, 2012, 12:52:34
Thanks that worked. I didn't get that groups were for that.
Title: Re: IOS Gallery, no slimbox in IE
Post by: webgift on July 03, 2012, 12:54:24
Bravo miskei!
Title: Re: IOS Gallery, no slimbox in IE
Post by: babis1 on October 16, 2012, 21:44:14
i found an easy way finally, just replace the code in components/com_gallery/js/prototype.js file with the version 1.7_rc3 here the code
http://prototypejs.org/assets/2010/10/12/prototype.js