Wolf, it all works now, thanks very much for your help. Ian
ANSWERED:Reusing the gallery on a single website
Started by Tomo, Jan 18 2009 06:46 PM
17 replies to this topic
#16
Posted 21 January 2009 - 01:40 PM
#17
Posted 23 October 2010 - 03:20 PM
Wolf Gross, on 18 January 2009 - 07:06 PM, said:
..the easiest way of using multiple copies of the template on one html page would be to create a separate folder for each gallery and change the reference/path to different folders in the html coding, e.g....
wolf
wolf
Hello Wolf I have read through this post and still having issues making a second gallery work on same web site.
I was reading your post and I have tried numerous ways to get this to work on same page. Below is my first gallery that I left it named as the original gallery214.swf
Far as the actual gallery_setup.txt do I have to change anything here I was reading the post and looks like you said that I would need to change the path here as well. I provided the the other gallery_setup.txt down at the bottomw. I was trying to understand if this needs to be change like gallery1/tnimage_1.jpg? I hope that makes sense.
gallery_setup.txt for gallery214.swf is
&loadimage_1=gallery/tn_image_1.jpg&
&loadimage_2=gallery/tn_image_2.jpg&
THIS IS THE FIRST ONE gallery214.swf
<center>
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
id="gallery214"
width="800" height="600"
>
<param name="movie" value="gallery214.swf">
<param name="bgcolor" value="#000000">
<param name="quality" value="high">
<param name="allowscriptaccess" value="samedomain">
<embed
type="application/x-shockwave-flash"
pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
name="gallery214"
width="800" height="600"
src="gallery214.swf"
bgcolor="#000000"
quality="high"
allowscriptaccess="samedomain"
>
<noembed>
</noembed>
</embed>
</object>
</center>
The sitespec code is
onSelfEvent (load){
var section1: Object = {
heading: false,
subSections: false,
style: false,
banner: false,
content: {
text_txt: "gallery/gallery_setup.txt",
text_html: false,
image_txt: "gallery/gallery_setup.txt",
image_obj: false,
video_txt: false,
video_swf: false
}
};
var sections: Array = [section1];
------------------------------------------------------------------------------------------
HERE IS THE SECOND ONE I am trying to use gallery215.swf
<center>
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
id="gallery214"
width="800" height="600"
>
<param name="movie" value="gallery1/gallery215.swf">
<param name="bgcolor" value="#000000">
<param name="quality" value="high">
<param name="allowscriptaccess" value="samedomain">
<embed
type="application/x-shockwave-flash"
pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
name="gallery214"
width="800" height="600"
src="gallery1/gallery215.swf"
bgcolor="#000000"
quality="high"
allowscriptaccess="samedomain"
>
<noembed>
</noembed>
</embed>
</object>
</center>
The sitespec code for gallery1 is below
onSelfEvent (load){
var section1: Object = {
heading: false,
subSections: false,
style: false,
banner: false,
content: {
text_txt: "gallery1/gallery_setup.txt",
text_html: false,
image_txt: "gallery1/gallery_setup.txt",
image_obj: false,
video_txt: false,
video_swf: false
}
};
var sections: Array = [section1];
gallery_setup.txt for gallery215.swf is
&loadimage_1=gallery/tn_image_1.jpg&
&loadimage_2=gallery/tn_image_2.jpg&
Attached Files
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users














