 
xmlphotoalbum 
(c) by Susan Zakar 2004 

This grew out of my frustration with the existing flash photo albums.  I wanted to have captions and multiple photosets in one place. 
I initially used it on jewsforjudaism.org  -- then rewrote it a bit for personal use. 

This flash photo album uses and xml file to display photos along with captions, date info and/or title. 
It should be pretty straightforward to use it with a database and and php/cf/asp type server -- just needs to spit out the xml.

I can't provide tons of support for this, but if you play with it and add goodies, find big problems or just want to tell me you if 
you  like it or use it somewhere,
send an email to me at smzflash@zakar.com

------------------------------------------
See sample xml document for format of xml.  (xmlphotos.xml) This sample is for two "albums" (photosets) which each have 2 pictures.
only one of the pictures includes a "title". The only really critical info is the image source.


 <?xml version="1.0" encoding="iso-8859-1"?> 
      <albums> 
        <photoset name="LeChayim for David and Debbie"  imagebase="samples/"> 
          <photo> 
            <pimage src="DCAM0001.jpg" /> 
            <pcaption caption="At LeChayim for David and Debbie on their engagement" /> 
            <pdate picdate = "Feb. 01, 2004" /> 
          </photo> 
          <photo> 
            <pimage src="DCAM0002.jpg" /> 
            <pcaption caption="David and Debbie at engagement get-together" /> 
            <pdate picdate = "Feb. 01, 2004" /> 
          </photo> 
        </photoset> 
        <photoset name="Shenandoah" imagebase="samples2/"> 
          <photo> 
            <ptitle title="Shenandoah Hike to Falls" /> 
            <pimage src="img25.jpg" /> 
            <pcaption caption="The big falls on the Overall Run trail." /> 
            <pdate picdate="October, 2002" /> 
          </photo> 
          <photo> 
            <pimage src="img28.jpg" /> 
            <pcaption caption="Another view of the big falls on the Overall Run trail. GREAT HIKE!" /> 
            <pdate picdate="October, 2002" /> 
          </photo> 
        </photoset> 
      </albums> 


----------------------------------------------
Sample folders with a few pictures are included in the zip file
-------------------------------------------
IMPORTANT: be sure to call the flash movie with cur_album set in the URL 
Example:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="700" height="420" id="xmlphotoalbum" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="photoXMLb2.swf?cur_album=xmlphotos.xml" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="photoXMLb2.swf?cur_album=xmlphotos.xml" quality="high" bgcolor="#ffffff" width="700" height="420" name="xmlphotoalbum" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
 

