Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sam 11 posts 31 karma points
    Nov 18, 2009 @ 13:22
    Sam
    0

    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

     

     

     

  • dandrayne 1138 posts 2262 karma points
    Nov 18, 2009 @ 14:21
    dandrayne
    0

    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?

    Dan

  • Sam 11 posts 31 karma points
    Nov 18, 2009 @ 15:37
    Sam
    0

    Dan,

    I will do some more testing for you....just for you :-)

     

    Sam

  • dandrayne 1138 posts 2262 karma points
    Nov 18, 2009 @ 16:17
    dandrayne
    0

    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

  • Sam 11 posts 31 karma points
    Nov 19, 2009 @ 11:25
    Sam
    0

    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. ;-)

Please Sign in or register to post replies

Write your reply to:

Draft