Topic: Gallery only showing up when I preview in Dreamweaver

Hi!

I have embedded simpleviewer in my website: http://jecarey.com/LAYOUTS.html as instructed in your support section. I used Photoshop CS2 create the gallery. I have built this website using Dreamviewer and am still feeling my way through web design. Anyway, the gallery looks great when I preview it through Dreamviewer but on my website the images are all showing up as white x's. I have fooled around with the coding in the gallery, looking through these forums for tips from users who were having similar problems but to no avail... Thanks for your help  smile

Julia

Re: Gallery only showing up when I preview in Dreamweaver

Did you upload your gallery folder including the images? If that's not it, please post your gallery URL.

Felix Turner
SimpleViewer Support Team.

Re: Gallery only showing up when I preview in Dreamweaver

Thanks for getting back to me Felix. I did upload the gallery. It's in my site folder in the subfolder layouts_simpleviewer. This is where I exported the pictures to in Photoshop. this is the url: layouts_simpleviewer/gallery.xml.   

Thanks,

Julia

Re: Gallery only showing up when I preview in Dreamweaver

Hey Felix,

Sorry, as I mentioned I am not very web design-savvy. Do you have the info you need?

Re: Gallery only showing up when I preview in Dreamweaver

this is your html

<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" AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','800','height','600','title','layouts','src','layouts_simpleviewer/simpleviewer','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgcolor','#33CC99','flashvars','baseURL=layouts_simpleviewer/gallery','allowfullscreen','true','movie','layouts_simpleviewer/simpleviewer' );//end AC code></script>

<noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="800" height="600" title="layouts">
  <param name="movie" value="layouts_simpleviewer/simpleviewer.swf" />
  <param name="quality" value="high" /><param name="BGCOLOR" value="#33CC99" />
  <param name="flashVars" value="baseURL=layouts_simpleviewer/gallery.xml" />
  <param name="allowFullscreen" value="true" />
  <embed src="layouts_simpleviewer/simpleviewer.swf" width="800" height="600" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#33CC99" flashvars="baseURL=layouts_simpleviewer/" allowfullscreen="true"></embed>
</object>
</noscript>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="flashContent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.adobe.com/go/getflashplayer/">Get Flash.</a></div>

</body>

</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%", "7", "#5bbedd");
        
        // 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>

You have extra body tags in your html doc, are using three different embedding options one of which is is for Simpleviewer 1. Try only using one embedding option like this

<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>
</head>
<!-- Download SimpleViewer at www.airtightinteractive.com/simpleviewer -->

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="800" height="600" title="layouts">
  <param name="movie" value="layouts_simpleviewer/simpleviewer.swf" />
  <param name="quality" value="high" /><param name="BGCOLOR" value="#33CC99" />
  <param name="flashVars" value="galleryURL=layouts_simpleviewer/gallery.xml" />
  <param name="allowFullscreen" value="true" />
  <embed src="layouts_simpleviewer/simpleviewer.swf" width="800" height="600" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#33CC99" allowfullscreen="true"></embed>
</object>
</body>
</html>
Mike Richards
SimpleViewer Support Team.

Re: Gallery only showing up when I preview in Dreamweaver

Hey miker,

Thanks for getting back to me. That seems to have fixed most of the problems, thanks. The only problem remaining is that my gallery can't be found. It's in the "layouts_simpleviewer" folder in a subfolder called "gallery" in my root folder. The file name is "gallery.xml". It was generated in Photoshop CS2. I'm not sure what's up. Again, thanks for the help.

Julia

Re: Gallery only showing up when I preview in Dreamweaver

You added this line wrong <param name="flashVars" value="galleryURL=layouts_simpleviewer/gallery/gallery.xml" /> it should be   <param name="flashVars" value="galleryURL=layouts_simpleviewer/gallery.xml" />

Mike Richards
SimpleViewer Support Team.

Re: Gallery only showing up when I preview in Dreamweaver

Hey Miker,

Thanks for your patience with this. I edited the html and the gallery is still not being found. I have Dreamweaver so I the files all go directly to the server. Not sure what's up.

Thanks,

Julia

Re: Gallery only showing up when I preview in Dreamweaver

Remove imagePath="images/" thumbPath="thumbs/"  from your gallery.xml

According to your gallery.xml your images should be in http://jecarey.com/layouts_simpleviewer/images/ and thumbs at http://jecarey.com/layouts_simpleviewer/thumbs/, but these folders seem to be missing.

Try this for your html.

<!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" 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 -->

<object type="application/x-shockwave-flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,124,0" data="simpleviewer.swf?galleryURL=layouts_simpleviewer/gallery.xml" width="800" height="600" title="layouts">
    <param name="movie" value="simpleviewer.swf?galleryURL=layouts_simpleviewer/gallery.xml"></param>
    <param name="quality" value="high" />
    <param name="BGCOLOR" value="#33CC99" />
    <param name="allowFullScreen" value="true"></param>
    <param name="allowscriptaccess" value="sameDomain"></param>
</object>

</body>
</html>
Mike Richards
SimpleViewer Support Team.

Re: Gallery only showing up when I preview in Dreamweaver

Hey Mike,

Thanks for getting back to me. I made the edits on the LAYOUTS page and the gallery.xml. You were right about the folders not being on the server, I thought they were since I had uploaded the whole site in Dreamweaver but I guess for some reason they weren't put on the server. I uploaded these folders to the server myself. They are in the layouts_simpleviewer now. The gallery still can't be found-ahhh! It's probably something I've neglected to do and not realized since obviously I don't know much about web design. I'm sorry to keep bothering you-even though I guess it's your job. Is there another option you could recommend to make my galleries look professional? I'm at the end of my rope with this I think (and I'm sure you are too). I wish I could send you cookies to thank you.

THANKS!
Julia

Re: Gallery only showing up when I preview in Dreamweaver

this time is was my mistake, you need to add layouts_simpleviewer/ before the simpleviewer.swf on the following lines.
from:

<object type="application/x-shockwave-flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,124,0" data="simpleviewer.swf?galleryURL=layouts_simpleviewer/gallery.xml" width="800" height="600" title="layouts">
  <param name="movie" value="simpleviewer.swf?galleryURL=layouts_simpleviewer/gallery.xml"></param>

To:

<object type="application/x-shockwave-flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,124,0" data="layouts_simpleviewer/simpleviewer.swf?galleryURL=layouts_simpleviewer/gallery.xml" width="800" height="600" title="layouts">
  <param name="movie" value="layouts_simpleviewer/simpleviewer.swf?galleryURL=layouts_simpleviewer/gallery.xml"></param>

After that the swf should load in the HTML.

Mike Richards
SimpleViewer Support Team.

Re: Gallery only showing up when I preview in Dreamweaver

Hey Mike!

Thanks so much--it's almost working! My gallery is now working in Safari...but it's still not working in Firefox. I have version 3.6. Sorry this has been such a headache!

Julia

Re: Gallery only showing up when I preview in Dreamweaver

Ahhh, also not working in IE.

Re: Gallery only showing up when I preview in Dreamweaver

Looks like you are missing a </head> tag. This is your code add the </head> tag on the line after the </title> tag.

<!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" 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 -->
<body>

<object type="application/x-shockwave-flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,124,0" data="layouts_simpleviewer/simpleviewer.swf?galleryURL=layouts_simpleviewer/gallery.xml" width="800" height="600" title="layouts">
  <param name="movie" value="layouts_simpleviewer/simpleviewer.swf?galleryURL=layouts_simpleviewer/gallery.xml"></param>
    <param name="quality" value="high" />
    <param name="BGCOLOR" value="#33CC99" />
    <param name="allowFullScreen" value="true"></param>

    <param name="allowscriptaccess" value="sameDomain"></param>
</object>
</body>
</html>
Mike Richards
SimpleViewer Support Team.

Re: Gallery only showing up when I preview in Dreamweaver

Hey Mike,

I fixed the html, it still isn't showing up though.

Thanks for all your help, it's almost there!

Julia

Re: Gallery only showing up when I preview in Dreamweaver

Ok I took out all of the extra stuff dreamweaver adds in and it should work now.

<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<title>SimpleViewer</title>
</head>
<body>
<object width="800" height="600" title="layouts" data="layouts_simpleviewer/simpleviewer.swf?galleryURL=layouts_simpleviewer/gallery.xml">
<param value="layouts_simpleviewer/simpleviewer.swf?galleryURL=layouts_simpleviewer/gallery.xml" name="movie">
<param value="high" name="quality">
<param value="#33CC99" name="BGCOLOR">
<param value="true" name="allowFullScreen">
<param value="sameDomain" name="allowscriptaccess">
</object>

</body>
</html>
Mike Richards
SimpleViewer Support Team.

Re: Gallery only showing up when I preview in Dreamweaver

Thank you so much Mike, it's working now. Thanks for your patience.

Julia