Topic: Ok I give in. Please help me to find my Gallery XML!

Hi,

I am making website in Dreamweaver.

Which has Home – About us – Weddings – Portraits – contact us

http://www.archerywest.com/Bruce%20Maco … index.html

I have a main folder for the website Bruce Maconachie Photography.

Within that I have a wedding_photos_gallery folder (which I made with Simpleviewer pro) which has
Simpleviewer.swf
readme.html
index.html
gallery.xml
A folder for thumbs
A folder for images

I followed the instructions to imbed Simpleviewer using dreamweaver

http://simpleviewer.net/simpleviewer/su … reamweaver

everything is fine until I get to number 5 when I get the Gallery XML not found

I have linked the flash file > wedding_photos_gallery_folder/simpleviewer.swf
And the Source to (everything in the above file one at a time) including the index.html > gallery.xml
Yet I still get  > Gallery XML not found

http://www.archerywest.com/Bruce%20Maco … llery.html

The gallery works as long as I don’t try to imbed it . Example > Portraits here

http://www.archerywest.com/Bruce%20Maco … index.html

Any help finding the GALLERY XML would be appreciated as I am going nuts.

I found this and I am pretty sure everything is in it’s place:

"Gallery Not Found' means the SimpleViewer SWF cannot find the 'gallery.xml' file that describes the gallery.
Make sure the gallery.xml file is in the same folder as the SimpleViewer SWF.
and the HTML document that contains the SWF."

I really do wish that these things weren't so easy  roll

Cheers
John
http://www.abloodyparaplegic.com

Re: Ok I give in. Please help me to find my Gallery XML!

You're telling your page where to find the gallery SWF, but not where the XML is located.

 <param name="flashVars" value="galleryURL=dir_where_your_xml_is/gallery.xml" />

Also, make sure the Gallery.xml tells the viewer the exact location of the images and thumbs directory

Re: Ok I give in. Please help me to find my Gallery XML!

Hi Bart,

I am still not getting it but I am a really old person. I am still trying to come to grips with 'code' and 'CSS' as against WYSIWYG.

I have done the following in Dreamweaver
http://simpleviewer.net/simpleviewer/su … reamweaver

Select the gray box and do Window -> Properties to open the properties panel.

    * Set the gallery width (W), height (H) and background color (bg) in the properties panel. (that works  smile )

    * Click the '+' (plus sign) to add a new parameter. Enter flashVars for the name and baseURL=svgallery/ for the value, replacing svgallery/ with the path to the gallery folder relative to the current document. (I think that this is my problem  sad )

    * Click the '+' (plus sign) to add a second new parameter. Enter allowFullscreen for the name and true for the value.  (That works  smile )

From what I can make out I need to change svgallery/ with the path to the gallery folder relative to the current document.

That's where my brain stops working. What should that path look lie as I have tried all sorts of variations. hmm

Do I have this right?
The current document would be the one where the flash has to go ie wedding_gallery.html
But here is where I get lost 'gallery folder relative to the current document' . What should it look like?

Cheers
John

Re: Ok I give in. Please help me to find my Gallery XML!

Help anyone  smile

Why is there so much conflicting information with Simpleviewer Pro?

Here
http://simpleviewer.net/simpleviewer/su … index.html 
it says

"To make SimpleViewer work you need to use the embed method described above. Using Dreamweaver's Insert -> Media -> SWF method will cause SimpleViewer to break. This is because SimpleViewer uses SWFObject to embed the SWF. SWFObject is an industry standard way to embed flash content that handles Flash player detection and upgrade prompts. Using the default Flash embed method in Dreamweaver will not work, since the config options that are set in the Javascript will be ignored".

yet here
http://simpleviewer.net/simpleviewer/su … reamweaver
it says that you can embed using Dreamweaver.

I am still stumped with - Gallery XML not found. Who is right?
http://www.archerywest.com/Bruce%20Maco … llery.html

Cheers
John

Re: Ok I give in. Please help me to find my Gallery XML!

Why is there so much conflicting information with Simpleviewer Pro?

Here
http://simpleviewer.net/simpleviewer/su … index.html
it says

"To make SimpleViewer work you need to use the embed method described above. Using Dreamweaver's Insert -> Media -> SWF method will cause SimpleViewer to break. This is because SimpleViewer uses SWFObject to embed the SWF. SWFObject is an industry standard way to embed flash content that handles Flash player detection and upgrade prompts. Using the default Flash embed method in Dreamweaver will not work, since the config options that are set in the Javascript will be ignored".

A. This is SimpleViewer 1.X info (see page title) and you are using SimpleViewer 2 B. dreamweaver has gotten a little bit better with time. We still do suggest the people us the SWFObject method , but it's up to you.


It looks like you followed the direction for the dreamweaver embed method without making changes to it so that it would work with your site.

Click the '+' (plus sign) to add a new parameter. Enter flashVars for the name and baseURL=svgallery/  for the value, replacing svgallery/ with the path to the gallery folder relative to the current document.


This is your embed code:
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="750" height="600" align="middle" id="FlashID" title="Bruce Maconachie Photography">
    <param name="movie" value="wedding_photos_gallery_folder/simpleviewer.swf" />
    <param name="quality" value="high" />
    <param name="swfversion" value="9.0.45.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" />
    <param name="BGCOLOR" value="#FFFFFF" />
    <param name="flashVars" value="baseURL=svgallery/" />
    <param name="allowFullscreen" value="true" />

    <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
    <!--[if !IE]>-->
    <object data="wedding_photos_gallery_folder/simpleviewer.swf" type="application/x-shockwave-flash" width="750" height="600" align="middle">
      <!--<![endif]-->
      <param name="quality" value="high" />
      <param name="swfversion" value="9.0.45.0" />
      <param name="expressinstall" value="Scripts/expressInstall.swf" />
      <param name="BGCOLOR" value="#FFFFFF" />
      <param name="flashVars" value="baseURL=svgallery/" />

      <param name="allowFullscreen" value="true" />
      <!-- 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>

baseURL tells the swf that it can look in this folder for the gallery data, right now it is pointing to a folder called svgallery. As you can see you are pointing to a folder that does not exist on your site. You need to do one of several things move the gallery.xml and image folders into a folder by that name or change the name in the embed code and move them to that folder or use galleryURL instead of baseURL and point to the XML file for that gallery. Once you choose one of these option if you still can't figure it out post which option you want to use and we can give you a hand.

Mike Richards
SimpleViewer Support Team.

Re: Ok I give in. Please help me to find my Gallery XML!

Hi,

Thanks for helping me through this:

All fixed.

http://www.brucemac.com.au

Cheers
John