Topic: Gallery Not Showing Up in HTML Embed

My gallery will not show up on the html page for some odd reason.  I'm not exactly sure why and I've tried many many times.

html page gallery should show up on:

I have all the contents copied in my root directory along with the gallery.html page which has the javascript code copied in the header, and the div tags in the body.  is there a step i'm missing?

I made an additional gallery folder with the same contents and it works fine, the gallery shows up just fine with the original html page that was given in the download:

Please help.  Thank you!!

Re: Gallery Not Showing Up in HTML Embed

Several issues. You are using two different pieces of SWFObject embed code when you only need one. Either use the one in the head or the one in your body. If you choose to use the one in the body you need to use an older version of SWFObject. Also make sure the name of the swf matches the swf you are using, the code in the your head is using simpleviewer.swf and the code in the body is using viewer.swf.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "">
<html templateref=""><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>Gallery &gt;&gt; Flowers by Ivy</title>

<style type="text/css"> <!--
.style2 {
font-family: "Courier New", Courier, monospace;
color: #000000;
.style3 {color: #827b67}
<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", "flashContent", "940", "422", "9.0.124", false, flashvars, params);
<table style="width: 952px; text-align: left; margin-left: auto; margin-right: auto; font-family: Arial; color: rgb(184, 86, 86);" border="0" cellpadding="0" cellspacing="0">

<div style="text-align: left;"><small><img style="width: 274px; height: 57px;" alt="" src="images/logo_home.jpg"></small><small>&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;
<div style="text-align: right;"><small><span style="font-family: Georgia,&quot;Times New Roman&quot;,Times,serif;"><span style="color: rgb(0, 0, 0);"><span style="font-family: &quot;Courier New&quot;,Courier,monospace;"><span class="style3" style="font-family: &quot;Courier New&quot;,Courier,monospace;"><a style="color: rgb(184, 86, 86);" href="">home</a>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a style="color: rgb(184, 86, 86);" href="about.html">about</a>

&nbsp; &nbsp; &nbsp;&nbsp; <a style="color: rgb(184, 86, 86);" href="gallery.html">gallery</a></span></span></span></span></small><span class="style2"><br>
<div id="flashcontent">SimpleViewer requires JavaScript
and the Flash Player. <a href="">Get
<script type="text/javascript">
var fo = new SWFObject("viewer.swf", "viewer", "940", "422", "8", "#ffffff");
// To use an option, uncomment it by removing the "//" at the start of the line
// For a description of config options, go to:
//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");

<div class="style2" style="text-align: center;"><small>389
E. Santa Clara St. #B San Jose, CA 95113 | tel.
408.993.8280 | fax. 408.933.1092 | e-mail</small></div>
Mike Richards
SimpleViewer Support Team.