PDA

View Full Version : Change background from Hex# to url in XML?


scifin
06-19-2006, 06:54 PM
I'm using a flash photo gallery from CS2 and it is possible to change the background of the gallery page but I can't figure out how to set the BG as a .gif file as opposed to a color (I have been able to figure out how to change the color and I set it to #b2b3b5). Here is the code of the page & a link to the gallery http://giuntawedding.scifinmusic.com/fgal/index.html:

<gallery
base = ""
background = "#b2b3b5"
banner = "#FFFFFF"
text = "#FFFFFF"
link = "#FF0000"
alink = "#FF0000"
vlink = "#B2B3B5"
date = "">
<sitename>Family & Friends</sitename>
<photographer></photographer>
<contactinfo></contactinfo>
<email></email>
<security></security>


<banner font = "Arial" fontsize = "3" color = "#FFFFFF"> </banner>
<thumbnail base ="thumbnails/" font = "Arial" fontsize = "4" color = "#FFFFFF" border = "0" rows = "3" col = "5"> </thumbnail>
<large base ="images/" font = "Arial" fontsize = "3" color = "#FFFFFF" border = "0"> </large>
<images id = "images">

<image
path = "Matt.jpg"
width = "300"
height = "450"
thumbpath = "Matt.jpg"
thumbwidth = "50"
thumbheight = "75">
</image>



<image
path = "Meghan 1.jpg"
width = "300"
height = "450"
thumbpath = "Meghan 1.jpg"
thumbwidth = "50"
thumbheight = "75">
</image>


<image
path = "jandjandrandsrest.jpg"
width = "450"
height = "324"
thumbpath = "jandjandrandsrest.jpg"
thumbwidth = "75"
thumbheight = "54">
</image>


<image
path = "jandjandrprof.jpg"
width = "450"
height = "313"
thumbpath = "jandjandrprof.jpg"
thumbwidth = "75"
thumbheight = "52">
</image>


<image
path = "jandjandrtux.jpg"
width = "450"
height = "299"
thumbpath = "jandjandrtux.jpg"
thumbwidth = "75"
thumbheight = "49">
</image>


<image
path = "jandjcannan.jpg"
width = "450"
height = "289"
thumbpath = "jandjcannan.jpg"
thumbwidth = "75"
thumbheight = "48">
</image>


<image
path = "jandjprof.jpg"
width = "450"
height = "358"
thumbpath = "jandjprof.jpg"
thumbwidth = "75"
thumbheight = "59">
</image>


<image
path = "jandrgroup.jpg"
width = "450"
height = "289"
thumbpath = "jandrgroup.jpg"
thumbwidth = "75"
thumbheight = "48">
</image>


<image
path = "jandrrest.jpg"
width = "450"
height = "291"
thumbpath = "jandrrest.jpg"
thumbwidth = "75"
thumbheight = "48">
</image>


<image
path = "nancyandbf.jpg"
width = "450"
height = "289"
thumbpath = "nancyandbf.jpg"
thumbwidth = "75"
thumbheight = "48">
</image>


<image
path = "randbuds.jpg"
width = "450"
height = "291"
thumbpath = "randbuds.jpg"
thumbwidth = "75"
thumbheight = "48">
</image>


<image
path = "randjan.jpg"
width = "450"
height = "302"
thumbpath = "randjan.jpg"
thumbwidth = "75"
thumbheight = "50">
</image>


<image
path = "randjolder.jpg"
width = "358"
height = "450"
thumbpath = "randjolder.jpg"
thumbwidth = "59"
thumbheight = "75">
</image>


<image
path = "randpaul.jpg"
width = "294"
height = "450"
thumbpath = "randpaul.jpg"
thumbwidth = "49"
thumbheight = "75">
</image>


<image
path = "randprsox.jpg"
width = "433"
height = "450"
thumbpath = "randprsox.jpg"
thumbwidth = "72"
thumbheight = "75">
</image>


<image
path = "rfrienjaq.jpg"
width = "450"
height = "297"
thumbpath = "rfrienjaq.jpg"
thumbwidth = "75"
thumbheight = "49">
</image>

</images>
</gallery>

chriskq
06-21-2006, 12:14 AM
hey buddy how big (file size wise) are the photos your using - it takes a while on my works superfast broadband

theres better open source image galleries out there. But if u wanna change the background. USe this


background:#3f0000 url(../images/gallery_bg.gif) repeat 0 0
or no-repeat or repeat-x or repeat-y

give that a shot. and reduce ur photos using the save for web function in photoshop

scifin
06-21-2006, 12:33 AM
The pics aren't really that big. I've put a similar gallery on the SCIFIN website and have not had problems with the load times. Maybe it was just a problem with the server and that's why it loaded slow.

I tried adding the info you suggested (and a lot of variants of it) but nothing worked. Any other suggestions?