JQuery lightbox script added 5 times

Apr 29, 2013 at 2:54 PM
Edited Apr 29, 2013 at 3:05 PM

Great work! Image gallery works perfect.
I made a minor change in the ImageGalleryDriver.cs as suggested on another post and replaced
foreach (string script in pluginResourceDescriptor.Scripts) {
foreach (string script in pluginResourceDescriptor.Scripts) {
However in the bottom of the body there are now 5 script tags all registering the lightbox script...

Commenting out this line makes all 5 script tags disappear, so for some reason in the pluginResourceDescriptor variable there is 5 times the same ligthbox script (as if it would contain 1 for each slideshow, only that there are 7 slideshows)
any suggestion as to where this comes from is greatly appreciated.
best regards Robin