Topic: Newbie having issues with autoviewer and dreamweaver CS4

Hi guys,

Sorry, I've tried to find a solution through search, but I can't find anything that's working for me.

I'm currently trying to embed autoviewer into a page in dreamweaver CS4. Now it doesn't matter what I do, I can't get it to work. 

I created the autoviewer folder in photoshop and that all worked fine (it ran fine will all the images I'd loaded and with the right borders and background colour.  So no issues there). I saved the folder to the root folder where my webpage is. I tried embedding through dreamweaver and I get the "player" but no images.  I tried doing it manually but that was even worse. Now the thing I don't get is, I opened the index page that autoviewer created in dreamweaver  and tha previews fine. I copied the code from thta page, pasted it onto a new blank html page and it doesn't work. So I don't know what's going on.

I've added the code from my page so hopefully I can get some help.

It's probably because my skill levels aren't what they should be, but autoviewer looks great and I really want to use it. So any help would be greatly appreciated.

Cheers
Grant


<script src="../Scripts/swfobject_modified.js" type="text/javascript"></script>
</head>
<body>
<div id="wrapper">
<div id="mainBody">
    <div id="nav">
      <table width="586" height="46" align="center">
        <tr>
          <td height="25" align="center" valign="middle"><h3><a href="../index.html">Home</a></h3></td>
          <td align="center"><h3><a href="products.html">Products</a></h3></td>
          <td align="center"><h3><a href="gallery.html">Gallery</a></h3></td>
          <td align="center"><h3><a href="contactUs.html">Contact Us</a></h3></td>
        </tr>
      </table>
    </div>
  <div id="mainImage"><img src="../images/redhead_back.png" width="255" height="392" alt="woman long hair" /></div>
  <div id="mainContent">
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="583" height="449" id="FlashID" title="image gallery">
      <param name="movie" value="../gallery/autoviewer.swf" />
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" />
      <param name="swfversion" value="8.0.35.0" />
      <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
      <param name="expressinstall" value="../Scripts/expressInstall.swf" />
      <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="../gallery/autoviewer.swf" width="583" height="449">
        <!--<![endif]-->
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="8.0.35.0" />
        <param name="expressinstall" value="../Scripts/expressInstall.swf" />
        <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
        <div>
          <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
          <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
        </div>
        <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>
    
  </div>
<div id="footer">
 </div>
</div>
<script type="text/javascript">
<!--
swfobject.registerObject("FlashID");
//-->
</script>
</body>
</html>

Re: Newbie having issues with autoviewer and dreamweaver CS4

So an update...

I tried the same process with tiltviewer and got a very different result. I created the gallery in photoshop and again no issues. But when I tried to embed it in my html, it worked! Problem is though, it doesn't show my gallery but shows the demo gallery instead!?! What's going on? Surely it shouldn't be this difficult...

Re: Newbie having issues with autoviewer and dreamweaver CS4

For AutoViewer you shouldn't be using dreamweaver's embed method, have you tried the embed instructions?

Replace the following:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="583" height="449" id="FlashID" title="image gallery">
      <param name="movie" value="../gallery/autoviewer.swf" />
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" />
      <param name="swfversion" value="8.0.35.0" />
      <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
      <param name="expressinstall" value="../Scripts/expressInstall.swf" />
      <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="../gallery/autoviewer.swf" width="583" height="449">
        <!--<![endif]-->
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="8.0.35.0" />
        <param name="expressinstall" value="../Scripts/expressInstall.swf" />
        <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
        <div>
          <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
          <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
        </div>
        <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>

with:

<div id="flashcontent">AutoViewer 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("autoviewer.swf", "viewer", "800", "600", "8", "#181818");
fo.write("flashcontent");    
</script>

it doesn't show my gallery but shows the demo gallery instead!?!

Sounds like you some how either are pointing the the wrong gallery.xml in your embed code or copied the wrong file to your site. I would double check that the gallery.xml and images your are using are the ones that you created with the photoshop script.

Mike Richards
SimpleViewer Support Team.