PDA

View Full Version : Website Gallery Help



DJ Frankie
08-09-2009, 06:47 PM
Hi Folks

Been trying for days now to insert the "Simple Viewer" gallery slide show into my website gallery page, I have added the coding but am getting the following error SimpleViewer requires JavaScript and the Flash Player. Get Flash.

Have have checked all the support forums but cant seem to find the answer, the only advice I found was to check that my server doesnt have "Hotlink Protection" enabled which I cant seem to find within my hosting server.

Does anyone know or have used this gallery before if so can you please help me. :bang:

My website is http://www.subsonicdiscos.co.uk and just click on Gallery.


:beer1: :beer1:

DJWilson
08-09-2009, 06:52 PM
It sounds like you dont have the latest flash player.

DJ Frankie
08-09-2009, 07:10 PM
I have checked the flash player but im running the latest version.

Jiggles
08-09-2009, 07:24 PM
You don't seem to have any of the JavaScript in the head of the pages for the gallery.

Marc J
09-09-2009, 06:16 AM
As Callum says, you need SWFObject (it should come with the download, but you can get a copy here (http://blog.deconcept.com/swfobject/)) and link to it - preferably in the <head> of your page.

Your path to your flash file (viewer.swf) doesn't seem to be correct either, so you'll need to fix that, too.

Without knowing exactly which gallery you're using, there might be more issues....

DJ Frankie
09-09-2009, 06:35 AM
Hi Marc

Thanks for the reply. Im using the Simple template via Picasa here:

http://www.simpleviewer.net/simpleviewer/auto_desktop_instruct.html

I have tried to follow the instructions about embeding the HTML coding but nothing seems to work.
The Gallery folder that I created when I exported to HTML in Picasa is sitting in my website folder within my hosting server, so cant understand why there are scripts missing???

Marc J
09-09-2009, 06:48 AM
The Gallery folder that I created when I exported to HTML in Picasa is sitting in my website folder within my hosting server, so cant understand why there are scripts missing???

The scripts aren't missing, you just haven't told the page where they are!

Try changing: -

<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", "800", "600", "8", "#181818");
fo.write("flashcontent");
</script>

to: -

<script type="text/javascript" src="foldername/swfobject.js">
<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("foldername/viewer.swf", "viewer", "800", "600", "8", "#181818");
fo.write("flashcontent");
</script>

foldername being whatever you called the folder you uploaded.

DJ Frankie
09-09-2009, 07:08 AM
Brill, I can always rely on you Marc. I'll have a go tonight. Thank you.