Topic: Help! No pictures loaded after embedded into local html!
Hi SV support team,
The performance of SimpleView is great and I like to use it into my website. However, when I embed SV(v2.0.3) in my html page, I have a problem. The SV loads pictures and works prefectly in gallery foler but after I embed it into html page, there are not pictures shown. I render html locally and have not upload it to Internet yet.
I use IE 8 and Firefox 3.6.3 for html page previewing. In the preview of mygallery.html, I can see a 800*800 dark grey area in IE8 and nothing in Firefox. I have installed the FlashPlayer 10 already.
My folder is like that:
DesignAgency (root foler)
images (images for index.html)
Mygallery (folder contains SV)
images
thumbs
gallery.xml
index.html
simpleviewer.swf
index.html (my homepage)
MyCSS.css
mygallery.html (page contains SimpleViewer)
And the code of mygallery.html is:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>mygallary</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.galleryURL = "gallery.xml";
var params = {};
params.bgcolor = "222222";
params.allowfullscreen = true;
params.allowscriptaccess = "always";
swfobject.embedSWF("simpleviewer.swf", "Mygallery", "800", "800", "9.0.124", false, flashvars, params);
</script>
</head>
<body>
<div id="layer1" style="position: relative; width: 800px; height: 800px; z-index: 1">
<div id="Mygallery">SimpleViewer requires JavaScript and the Flash Player.
<a href="http://www.adobe.com/go/getflashplayer/">Get Flash.</a></div> </div>
</body>
</html>
I could provide more information including the code of gallery.xml if you would.
I am really appreciated such a great and nice product! :D
Thank you for your help in advance.