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)
   index.html (my homepage)
   mygallery.html (page contains SimpleViewer)

And the code of mygallery.html is:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">

<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<script type="text/javascript" src=""></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);

<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="">Get Flash.</a></div> </div>


I could provide more information including the code of gallery.xml if you would.

I am really appreciated such a great and nice product! big_smile

Thank you for your help in advance.

Re: Help! No pictures loaded after embedded into local html!

Try adding the baseURL param after the galleryURL param.

flashvars.galleryURL = "gallery.xml";
flashvars.baseURL = "Mygallery/";
Mike Richards
SimpleViewer Support Team.

Re: Help! No pictures loaded after embedded into local html!

Hi Miker,

I add it but it doesn't help.

When I right click the dark grey area, it shows

moive not loaded...

Where goes wrong?