Search code examples
flashslideshowswfobject

Slideshow Pro - Flash loads but images do not. Why?


I installed Slideshow pro, with swfobject here: http://globalhealth-dev.oit.duke.edu/whos-involved/alumni

The flash loads but the images do not. I have double checked the image paths to death and they appear to be correct.

Here is the html:

<object id="alumni" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="520" height="270">
<param name="movie" value="http://globalhealth-dev.oit.duke.edu/alumni-slideshow.swf" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="http://globalhealth-dev.oit.duke.edu/alumni-slideshow.swf" width="520" height="270">

<!--<![endif]-->
<div>
    <h1>Alternative content</h1>
    <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/photos/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->

</object>

Here is the swfobject code:

<script type="text/javascript">
swfobject.registerObject("slideshow", "9.0.0", "expressInstall.swf");
    swfobject.registerObject("alumni", "9.0.0", "expressInstall.swf");
</script>

The images.xml file and the gallery are both in the root directory and the xml file code is:

<?xml version="1.0" encoding="UTF-8"?>
  <gallery>
   <album title="Alumni" description="Duke Global Health Institute Alumni" lgPath="gallery/album1/lg/">
  <img src="kohler.jpg" />
  <img src="zimmerman.jpg" />
  <img src="griffin.jpg" />
   </album>
</gallery>

I would appreciate some help in resolving this! Thanks.


Solution

  • With some help from the folks over at Slideshow Pro I finally figured out the solution:

    1. Put the full url to the images.xml in the ssp preferences in Flash: http://www.myurl.com/images.xml
    2. Put the full path to the gallery images folder in the xml file: http://www.myurl.com/gallery/lg/
    3. Only put the name of the image in the img src link: img src="photo1.jpg"