Topic: Setting up different .xml galleries from Flicker

Ok, I have been searching on the forums, and I guess I need someone to spell it out for me.

I am trying to do different galleries on different pages on my website, but I cannot figure out how to redirect the gallery on the media.html page to the "photoshoots.xml" gallery.

I tried adding this code - fo.addVariable("xmlDataPath", "photoshoots.xml");>  but I don't know if I put it in the right place or not. Can you guys help please? Thanks.

Edit: oops...my website is temporarily up at www.tropicaltaxicharleston.com. Thanks.

Last edited by breatheorange (2010-02-17 15:29:45)

Re: Setting up different .xml galleries from Flicker

xmlDataPath is the SimpleViewer 1.x param you need to use galleryURL. Take a look at the embed guide to see how to properly embed SimpleViewer 2 into your page.

Mike Richards
SimpleViewer Support Team.

Re: Setting up different .xml galleries from Flicker

http://tropicaltaxicharleston.com/media.html

Ok, I followed the steps for embedding using Dreamweaver, and the gallery is not loading on the site. Just black screen. Help!

Re: Setting up different .xml galleries from Flicker

baseURL points to the folder the gallery is in, so it should be linking to a folder not a file ie svgallery/ not svgallery/photoshoots.xml.

I would replace baseURL with galleryURL and point to where the XML is using this format galleryURL=theFolder/theSubFolder/theXMLFile.xml

below are the 3 line in your page you need to change.

AC_SW_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=10,1,1,0','width','623','height','465','title','The Hottest Bar in Charleston -Pictures','src','web/simpleviewer','pluginspage','http://www.adobe.com/shockwave/download/','flashvars','baseURL=svgallery/photoshoots.xml','allowfullscreen','true','bgcolor','#000000' ); //end AC code
<param name="flashVars" value="baseURL=svgallery/photoshoots.xml">
    <embed src="web/simpleviewer.swf" width="623" height="465" pluginspage="http://www.adobe.com/shockwave/download/" flashvars="baseURL=svgallery/photoshoots.xml" allowfullscreen="true" bgcolor="#000000"></embed>
Mike Richards
SimpleViewer Support Team.

Re: Setting up different .xml galleries from Flicker

I've updated it as you said, but still getting nothing but a black screen when it comes up...

Re: Setting up different .xml galleries from Flicker

Anyone have any ideas? I'm stuck on this. Thanks.

Re: Setting up different .xml galleries from Flicker

Seems that the page is trying to load a dcr shockwave file? Your embed code is wrong. Try re-following the instructions.

Felix Turner
SimpleViewer Support Team.