Topic: Please help me!
What am I doing wrong. I have been trying for days and I just can't get this to work. I have read and re-read the FAQs, Troubleshooting etc and searched this forum. If someone could please help I'd be eternally greatful because I'm losing my mind!!
Basically I have followed the manual instructions. All is fine locally on my hard drive, everything works as I'd like, even the back button and header.
When I upload to the FTP site this is the problem. The images and the thumbs need to be in a Folder (right?) So I have created them new folders on the FTP site, I've created a Folder called for eg: Sample and put images and thumbs plus the other documents in this new folder.
The HTML page which in my case I have to call 3.html (not index) because it has to link to my existing site is outside of this folder.
I have tried all combinations in the XML file and called the ImagePath "sample/images/" etc but the HTML file will not TALK to this folder and I just get black screen with text at the top to get Flash
With all the playing around I sometimes achieve just SimpleViewer showing but I can not get it to talk to the images or thumbs.
I am self taught and have no techy background. There just seems to be a link, something missing and I can't figure it out.
I even tried this code that Felix posted, but didn't work either.......
Yes that's possible. The swf, xml, images and thumbs can be in a different directory than the HTML file.
For example if your swf, xml, thumbs and images folders are in a sub-directory called gallery1, your HTML embed code will look like this:
Code:
var fo = new FlashObject("gallery1/viewer.swf", "viewer", "100%", "100%", "6", "#181818");
fo.addParam("quality", "best");
fo.addVariable("xmlDataPath", "gallery1/imageData.xml");
fo.write("flashcontent");
Then in your imageData.xml file, set your image and thumb path like this:
Code:
imagePath="gallery1/images/" thumbPath="gallery1/thumbs/"
please help
Cate