The "freezing" may be the preloading - if you end up preloading a lot of images I'd disable that code. It's just a case of deleting or commenting out the following from the js
//preload gallery images $("ul.items li a").each(function() { var newImgPath = $(this).attr("href"); img = new Image(); img.src=newImgPath; });
The only thing that I could see causing the error would be the getMedia call, which should work fine providing you picked a folder using the media picker and not an image. I should put in a check around that though...do you have a page online that I could check? Also, do you get any info when you append ?umbdebugshowtrace=true to your page?
I should mention that if you have "render in editor" enabled, it will give an xslt error inside the macro div of the editor until the page is published. Disabling "render in editor" is the way to ensure this doesn't happen.
Error when package is installed...tried the new 1.1
When trying to add a gallery using jqgallery, it says. Also.
Error parsing XSLT file: \xslt\jqGallery.xslt
Running Umbraco 4.0.2.1 on .net 3.5
Noticed it can freeze the site for a minute or two after trying then all is well again.
The image gallery folder was only two images less than 30k each.
Regards,
Sam
The "freezing" may be the preloading - if you end up preloading a lot of images I'd disable that code. It's just a case of deleting or commenting out the following from the js
The only thing that I could see causing the error would be the getMedia call, which should work fine providing you picked a folder using the media picker and not an image. I should put in a check around that though...do you have a page online that I could check? Also, do you get any info when you append ?umbdebugshowtrace=true to your page?
Dan
Dan,
I will do some more testing for you....just for you :-)
Sam
Heh, cool. Please let me know what you find.
I should mention that if you have "render in editor" enabled, it will give an xslt error inside the macro div of the editor until the page is published. Disabling "render in editor" is the way to ensure this doesn't happen.
Dan
You were right about the render in editor enabled option - I think this is turned on by default.
it's a very nice gallery you put together. ;-)
is working on a reply...