Topic: Flash installed still SimpleViewer doesn't display the gallery

Hi,

I recently installed the simpleviewer. Did everything as should according to this tutorial video http://www.layersmagazine.com/installin … press.html using Photoshop script.
Name of images correspond with XML file, Javascript is activated in my browser (Safari and Opera) and Flash (latest version) is installed, after many attempts I upgraded to v2 but still it isn't working.

On the local server the image gallery is displayed perfectly.
On the distant server (my website) the error message I get is: Javascript and Flash required.
Which is odd as everything is in place for simpleviewer to work...

Can someone tell me what I do wrong?

Thank you,

Carla

Re: Flash installed still SimpleViewer doesn't display the gallery

Did you upload the swfobject.js file? If that's not it please post the URL of your gallery.

Felix Turner
SimpleViewer Support Team.

Re: Flash installed still SimpleViewer doesn't display the gallery

Thanks for your reaction, Felix.
Yes, the swfobject.js file is uploaded on the server.
The URL is www.boomerang-design.net/portfolio_gallery/shadowbox_gallery/index.html

Re: Flash installed still SimpleViewer doesn't display the gallery

Looking at the source the code is all on one line try changing it form

<!-- saved from url=(0014)about:internet --><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>SimpleViewer</title><!-- Download SimpleViewer at www.airtightinteractive.com/simpleviewer --><script type="text/javascript" src="swfobject.js"></script><style type="text/css">    /* hide from ie on mac \*/    html {        height: 100%;        overflow: hidden;    }    #flashcontent {        height: 100%;    }    /* end hide */    body {        height: 100%;        margin: 0;        padding: 0;        background-color: #181818;        color:#ffffff;        font-family:sans-serif;        font-size:20;    }    a {            color:#cccccc;    }</style></head><body>    <div id="flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>    <script type="text/javascript">        var fo = new SWFObject("viewer.swf", "viewer", "100%", "100%", "8", "#181818");        // SIMPLEVIEWER CONFIGURATION OPTIONS        // To use an option, uncomment it by removing the "//" at the start of the line        // For a description of config options, go to:        // http://www.airtightinteractive.com/simpleviewer/options.html        //fo.addVariable("xmlDataPath", "gallery.xml");        //fo.addVariable("firstImageIndex", "5");        //fo.addVariable("langOpenImage", "Open Image in New Window");        //fo.addVariable("langAbout", "About");        //fo.addVariable("preloaderColor", "0xFFFFFF");        fo.write("flashcontent");    </script></body></html>

To:

<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>
      SimpleViewer
    </title>
    <!-- Download SimpleViewer at www.airtightinteractive.com/simpleviewer -->
    <script type="text/javascript" src="swfobject.js">
    </script>
    <style type="text/css">
          /* hide from ie on mac */
    html {        height: 100%;
        overflow: hidden;
    }
    #flashcontent {
        height: 100%;
    }
    /* end hide */
    body {
        height: 100%;
        margin: 0;
        padding: 0;
        background-color: #181818;
        color:#ffffff;
        font-family:sans-serif;
        font-size:20;
    }
    a {
        color:#cccccc;
    }
    </style>
  </head>
  <body>
    <div id="flashcontent">
      SimpleViewer requires JavaScript and the Flash Player. 
      <a href="http://www.macromedia.com/go/getflashplayer/">
        Get Flash.
      </a>
    </div>
    <script type="text/javascript">
       var fo = new SWFObject("viewer.swf", "viewer", "100%", "100%", "8", "#181818");
        // SIMPLEVIEWER CONFIGURATION OPTIONS
        // To use an option, uncomment it by removing the "//" at the start of the line
        // For a description of config options, go to:
        // http://www.airtightinteractive.com/simpleviewer/options.html
        //fo.addVariable("xmlDataPath", "gallery.xml");
        //fo.addVariable("firstImageIndex", "5");
        //fo.addVariable("langOpenImage", "Open Image in New Window");
        //fo.addVariable("langAbout", "About");
        //fo.addVariable("preloaderColor", "0xFFFFFF");
        fo.write("flashcontent");    
    </script>
  </body>
</html>

Or if you want to keep it in one line remove the comments.

Mike Richards
SimpleViewer Support Team.

Re: Flash installed still SimpleViewer doesn't display the gallery

Thanks, Miker!
It workes.
Really nice image gallery!