see live demo!

Not signed in (Sign In)

Categories

 

buy Monoslideshow

via PayPal / credit card

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthormaze
    • CommentTimeMay 12th 2010 edited
     permalink

    Hello!

    In Firefox, monoslideshow works great. IE8, on the other hand, freezes or even crashes, when loading images.
    Maybe the problem is, that I create the XML and the images dynamically; but I have no clue.

    The website is www.euregio-im-bild.de and the XML-File is located here.
    Preloading Images seems to solve the problem most of the time.

    Now that I preload three images with preloadItems=3 it got little better, but IE still crashes from time to time (when loading the next image).

    Is there an error in the XML, is it a bug (would be known then, I think), or is it just my computer?

    I suppose, it's an IE specific issue with caching/non-cached images?

    Any hints or advice would be greatly appreciated.

    Thank you, Matthias

  1.  permalink

    The w3c validator gives us 62 errors when parsing your page. In all instances I know of where IE8 behaves somewhat erratically, the markup was a little incorrect in a way Firefox would accept and IE8 would not.
    Try getting your markup to validate (or at least a little closer to validation), my guess is it'll stop crashing then.
    Christoph

    Viele Grüße aus dem verregneten Norddeutschland!

    • CommentAuthormaze
    • CommentTimeMay 12th 2010 edited
     permalink

    Hi Christoph,

    and thank you. I didn't know there where so many errors! I use HTML-Tidy in Firefox, it didn't show any of them.
    But... now I have solved each error and the problem still persists.

    I don't know what else I can do. I really would like to use monoslideshow.

    Can it be the header of the images?

    It looks like this:
    Date Wed, 12 May 2010 10:26:08 GM
    Server Apache/2.2.3 (Debian) PHP/5.2.0-8+etch16 mod_ssl/2.2.3 OpenSSL/0.9.8c
    X-Powered-By PHP/5.2.0-8+etch16
    Pragma public
    Cache-Control max-age=1209600
    Last-Modified Wed, 12 May 2010 10:25:14 GMT
    Expires Wed, 26 May 2010 10:25:34 GMT
    Vary Accept-Encoding
    Content-Encoding gzip
    Content-Length 33886
    Content-Type image/jpeg

    Strangely, it crashes only sometimes (aprox. one out of five times). That makes it very difficult for me to find the cause.
    If I restart the Browser (IE8) and visit the page, that caused the crash, it works fine mostly.

    EDIT:
    I could narrow it down to the image creating php script. There has to be an error...
    If I use non-dynamic images, everything works fine!

    But why?

    Thank you

  2.  permalink

    Ok, then I'd try to use php to create a static .xml which is afterwards called by monoslideshow. If you call the php code earlier on your page, this approach may not be the most elegant, but it should work.
    Christoph

    • CommentAuthormaze
    • CommentTimeMay 18th 2010
     permalink

    It's working now. And it was all my fault. If you encounter similar problems, try to use readfile() instead of imagecreatefromjpg() when passing through images and send the right header-length.

    Thanks for your time and for the great MSS

monokai logo © 2009 Monokai, all rights reserved. Buy Monoslideshow.