Embedding multiple photo galleries on a website
Once you have created and published your photo gallery,
1.Publish each photo gallery to different folder. The published files structure should be as follows:
photogallery1/
photogallery1/photogallery.htm
photogallery1/a4gallery/
photogallery1/a4gallery/a4gallery_images
photogallery1/a4gallery/a4gallery_thumbs
photogallery1/a4gallery/AC_RunActiveContent.js
photogallery1/a4gallery/data_xml
photogallery1/a4gallery/index.swf
photogallery2/
photogallery2/photogallery.htm
photogallery2/a4gallery/
photogallery2/a4gallery/a4gallery_images
photogallery2/a4gallery/a4gallery_thumbs
photogallery2/a4gallery/AC_RunActiveContent.js
photogallery2/a4gallery/data_xml
photogallery2/a4gallery/index.swf
Figure 1
2. Check 'Use full path for the embed code',
type the URL where you upload the /a4gallery/
to. For example, http://www.server.com/photogallery1/
for the first photo gallery and http://www.server.com/photogallery2/
for the second gallery. Copy the embed code
when you publishing for each photo album.
Figure 2

3. Go to your website folder and find the ".htm" file (e.g. "home.htm")
Figure 3

4. Edit the ".htm" file (e.g."home.htm") with Dreamweaver.
Figure 4

5. Paste the scripts between <!-- Start of A4Desk Flash Photo Gallery--> and <!-- End of A4Desk Flash Photo Gallery -->(which you copied for each photo gallery) to the text area of your site's ".htm" file (e.g. "home.htm"), or to the place where you want to display the photo galleries.
Replace the embed code for the two
photo galleries. Add the folder name
of your photo gallery to the "value" attributes
for the following parameters:
For photo gallery 1 (replace http://www.server.com/
with your own domain):
<object id="flashalbum" align=""
width="100%" height="100%"
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">
<param name="movie" value="http://www.server.com/photogallery1/a4gallery/index.swf?datafile=data.xml">
<param name="quality" value="best">
<param name="bgcolor" value="ffffff">
<param name="menu" value="false">
<param name="base" value="http://www.server.com/photogallery1/a4gallery/">
<embed src="http://www.server.com/photogallery1/a4gallery/index.swf?datafile=data.xml"
name="flashalbum" bgcolor="ffffff"
width="100%" height="100%" menu="false"
quality="best"
base="http://www.server.com/photogallery1/a4gallery/"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash">
</embed>
</object>
For photo gallery 2 (replace http://www.server.com/
with your own domain):
<object id="flashalbum" align=""
width="100%" height="100%"
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">
<param name="movie" value="http://www.server.com/photogallery2/a4gallery/index.swf?datafile=data.xml">
<param name="quality" value="best">
<param name="bgcolor" value="ffffff">
<param name="menu" value="false">
<param name="base" value="http://www.server.com/photogallery2/a4gallery/">
<embed src="http://www.server.com/photogallery2/a4gallery/index.swf?datafile=data.xml"
name="flashalbum" bgcolor="ffffff"
width="100%" height="100%" menu="false"
quality="best"
base="http://www.server.com/photogallery2/a4gallery/"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash">
</embed>
</object>
Figure 5
6. Upload all the following files in the published folder of the photo gallery and your site's ".htm" file (e.g. "home.htm" and you can use FTP to put all the files in your site to your server.)
- home.htm
- photogallery1 (folder)
- photogallery2 (folder)
You have embedded two photo galleries to your website
Figure 6

Example: home.htm
|