Topic: EMBEDDING AUTOVIEWER

Felix and friends -
I have no trouble in embedding slideviewer using the following codes:

<embed src="http://www.mywebsite/mygallery/viewer.swf"
FlashVars="xmlDataPath=http://www.mywebsite/mygallery/gallery.xml"
bgcolor=#000000 WIDTH=420 HEIGHT=520
TYPE="application/x-shockwave-flash"></embed>

But when i try similar codes to load autoviewer - it did not work

can i really do this using autoviewer / autoviewer pro??

I want to buy autoviewer-pro because i like the ability to overlay text on top of the image.

If I can overlay text using slideviewer - i would buy slideviewerpro

Thanks

Re: EMBEDDING AUTOVIEWER

To embed autoviewer, use the embed code in the HTML file that comes with the download.

Felix Turner
SimpleViewer Support Team.

Re: EMBEDDING AUTOVIEWER

Greetings,

Clarification, please:

:?: Can the basic/free "Autoviewer" be embedded?

:?: If so, how do you call the .xml in the flash var?

   

<div id="flashcontent">SimpleViewer requires Macromedia Flash. <a href="http&#58;//www.macromedia.com/go/getflashplayer/">Get Macromedia Flash.</a> If you have Flash installed, <a href="index.html?detectflash=false">click to view gallery</a></div>    
    <script type="text/javascript">
        var fo = new FlashObject&#40;"http&#58;//www.meanpony.com/samples/viewer.swf", "viewer", "100%", "400", "8", "#181818"&#41;;
        fo.addParam&#40;"xmlDataPath", "http&#58;//www.meanpony.com/samples/gallerydata2.xml"&#41;;        

        fo.addParam&#40;"scale", "noscale"&#41;;

        fo.write&#40;"flashcontent"&#41;;    

    </script>

Have attempted to embed the basic "AutoViewer"  in joomla with the above code---no luck. Here:

:?: Any tips or advice? or do we need the "Pro" version"?

Like the initial post in this thread; I've been able to embed "SimpleViewer" by following the various tips in the forum-- However, i've noticed that the link to "download" is being parsed somehow--so it doesn't work--i'd certainly like it to be functional.  I've noticed the same on your "mySpace" demo. Does the .swf need to be re-compiled to correct this bug?

Thanx for this great app & for any info or help in this matter. wink

sWitt @ meanpony

PS. does the pro pkg contain all three? simpleviewer & postcard & auto
or are they each sold separately?

Re: EMBEDDING AUTOVIEWER

Thanks to Peachitis for posting the code to embed SimpleViewer in a Joomla page:

<embed src="http://www.mywebsite/mygallery/viewer.swf"
FlashVars="xmlDataPath=http://www.mywebsite/mygallery/gallery.xml"
bgcolor=#000000 WIDTH=420 HEIGHT=520
TYPE="application/x-shockwave-flash"></embed>

It works!  In addition to providing code in my Joomla 1.5.14 article similar to the above, I had to include the swfobject.js file in my template's index.php file:

<script type="text/javascript" src="swfobject.js"></script>

... and set the full path to my image and thumbs folders in the gallery.xml file.

Surely some of the paths can be relative, I've just not tried that yet.

Thanks to the SimpleViewer authors for providing such clear and complete documentation on how to configure SimpleViewer.

Re: EMBEDDING AUTOVIEWER

Mattson, I need your help... I am tring to put this gallery on my site (created with joomla) I did all the things you said and It still doesn't work

did that


mattsson wrote:

<embed src="http://www.mywebsite/mygallery/viewer.swf"
FlashVars="xmlDataPath=http://www.mywebsite/mygallery/gallery.xml"
bgcolor=#000000 WIDTH=420 HEIGHT=520
TYPE="application/x-shockwave-flash"></embed>

include the swfobject.js file in my template's index.php file :

<script type="text/javascript" src="swfobject.js"></script>

... and set the full path to my image and thumbs folders in the gallery.xml file.

for the fully path are your talking about permissions ? that you change in the FTP ? that's what I did...

And I still have a problem...
Did you just do an article and write it in html ? I can see the flash is almost there... but I've still got the"Gallery XML not found"  check it there : http://ddc.bprod.cmoi.cc/index.php?opti … ;Itemid=18

han, I've been looking for solutions all afternnon... I'm starting to be desesperate... I want this gallery it's soo great work !

I did it with the photoshop script I don't know If this changinges somesthing...

and It works on a page by itself, but not with embedded html...

has someone got a trick ? mattson ?

Re: EMBEDDING AUTOVIEWER

Hi Benj33,

What is in your gallery.xml file?  In particular, what's on line 123?

I tried to view your gallery.xml file from the browser:

http://ddc.bprod.cmoi.cc/images/stories … allery.xml

Instead of showing the text of the XML file the browser (Firefox 3.5) displays this error message:

XML Parsing Error: no element found
Location: http://ddc.bprod.cmoi.cc/images/stories … allery.xml
Line Number 123, Column 1:

Maybe it contains an error and thus SimpleViewer doesn't know what to do with it and can't proceed?

Also I see your  Gallery <embed> object wrapped in an <object> object.  Why is that?  Makes the gallery compatible with more browsers?

Cheers,
Carol