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.
    • CommentAuthoralex3m
    • CommentTimeApr 21st 2009 edited
     permalink

    Dear Board,

    I've got a wicked problem with the integration of Monoslideshow into our website.

    If you look at http://www.bonn-is.de/slide/ , you'll see Monoslideshow working perfectly. However, if want to integrate the path into our main page, monoslideshow can't find any photos. I guess it has something to with the re-write engine but I tried already to exclude the path without luck.

    The xml file looks like this:
    <?xml version="1.0" encoding="utf-8"?>

    #<slideshow>

    <preferences
    viewport="0,0,351,234"
    showAlbumsButton = "false"
    showControls = "false"
    controlAutoHide = "true"
    kenBurnsMode = "random"
    kenBurnsVariationPercent = "30"
    backgroundColor = "000000"
    showLoadingIcon = "false"
    albumBackgroundColor = "000000"
    imageTransition = "blend"
    imageTransitionTime = "1"
    imageInfoColor = "FFFFFF"
    imageInfoAlpha = "0"
    imageInfoShadowAlpha = "0"
    imageInfoAlign = "bottomLeft"
    imageInfoMarginX = "20"
    imageInfoMarginY = "15"
    imageInfoWidth = "320"
    imageInfoMaxSize = "false"
    imageInfoPadding = "0"
    imageInfoTitleSize = "14"
    thumbnailBackgroundAlpha = "0"

    />

    <album thumbnail="../slide/album/albumThumbnail.jpg" title="Bonn IS Students" description="" imagePath="../slide/album/images/" thumbnailPath="../slide/album/images/thumbnails/">
    <img src="photo01.jpg" title="" description=""/>
    <img src="photo02.jpg" title="" description=""/>
    <img src="photo03.jpg" title="" description=""/>
    <img src="photo04.jpg" title="" description=""/>
    <img src="photo05.jpg" title="" description=""/>
    <img src="photo06.jpg" title="" description=""/>
    <img src="photo07.jpg" title="" description=""/>
    <img src="photo08.jpg" title="" description=""/>
    <img src="photo09.jpg" title="" description=""/>
    <img src="photo10.jpg" title="" description=""/>
    <img src="photo11.jpg" title="" description=""/>
    <img src="photo12.jpg" title="" description=""/>
    <img src="photo13.jpg" title="" description=""/>
    <img src="photo14.jpg" title="" description=""/>
    <img src="photo15.jpg" title="" description=""/>
    <img src="photo16.jpg" title="" description=""/>
    </album>
    #<stageInfo wrapperStageHeight="351" wrapperStageWidth="234"/>
    #</slideshow>

    The main page index is php and loads the real index page from documentroot/bis/index_new.php. In this loaded index php there is the path specified as ../slide/monoslideshow.swf

    Any idea to exlude correctly so that it works? I must admit I've no idea about that re-write engine. If I have a look with Safari's Activity Viewer, I see that monoslideshow.xml is requested one path lower, but even if I place that file there it doesn't work.

  1.  permalink

    Hi Alex,
    it is quite common to have trouble like this.
    Do you see a grey background with an error message? Which one? Do you see a large exclamation mark in the middle?
    If possible, set up a test page where it'll be later (rename it index2.php or whatever so it doesn't mess up your real site) and post a link.

    By the way, your test page doesn't work for me. There are 1000s of posts in this forum how to use an up to date version of swfobject.js and the html code from GoogleCode to make a rock solid implementation.

    Viele Grüße aus Bremen,
    Christoph

    • CommentAuthoralex3m
    • CommentTimeApr 21st 2009 edited
     permalink

    Hi Christoph,

    I'm sorry for the link, it works in Safari 4 beta, not in older or other browsers. I've created now a new indexpage located at http://www.bonn-is.de/bis/index_new.php that should work if you browse it directly but not if I integrate it into the main page. It will load then the grey background and says "No images found in .XML-file."

    Of course I've read all the other threads about this topic but had no luck finding something that could help.

  2.  permalink

    Ok, the problem lies in the "imagePath" and "thumbnailPath" parameters. These have to be relative to the location of the calling (x)html resp. php file. So, assuming you leave the images where they are but change the location of the page from www.bonn-is.de/bis/index_new.php to www.bonn-is.de/index_new.php, you need to change:
    <code>imagePath="../slide/album/images/" thumbnailPath="../slide/album/images/thumbnails/"</code>into
    <code>imagePath="slide/album/images/" thumbnailPath="slide/album/images/thumbnails/"</code>
    That should solve it.
    Christoph

    • CommentAuthoralex3m
    • CommentTimeApr 22nd 2009
     permalink

    Hi Christoph,

    I've altered the paths according to your suggestion but no luck yet. If you look <a href="http://bonn-is.de/images/mono.jpg">here</a>, it thinks the xml file is in the document root, which is not the case. Nowhere I've linked it there nor does it physically is there but in /slide. This makes me believe that it's a rewrite engine related problem as suggested.

  3.  permalink

    Possible, but the error message "No images found in .xml file" appears only when MSS finds an xml file, otherwise you get "Error loading slideshow monoslideshow.xml file".
    But you must have changed something as your link (index_new.php) now states exactly this.
    The way your html looks now, you do not state any path for monoslideshow.xml which forces MSS to look at exactly the place where the the html (or php) resides.
    Try using the "base" parameter (which influences imagePath and thumbnailPath!) or the "dataFile" parameter.
    Personally, I prefer the "base" parameter. Check out <a href="http://www.horsecompetence.de/galerie/aktuell_30.html">my site</a> for a working example, you find the xml <a href="http://www.horsecompetence.de/galerie/2009_03/monoslideshow.xml">here</a>. With the base parameter, this is the only thing I change for all of my about 40 slideshows on the site.
    Christoph

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