Customizing Photo Shoot
To control look-and-feel, Photo Shoot allows you to specify a large range of options as attributes in the XML configuration. It is best to look at the examples to see how these work. The following tables show the possible tags that you can use in Photo Shoot, together with their attribute settings:
|
PhotoShoot
|
|
background Examples: images/background.jpg,images/background2.jpg |
|
captioncolor Examples: #0000ff,#ff0000 |
|
captionfont Examples: #0000ff,#ff0000 |
|
captionfontsize Examples: The font size to use.,12 |
|
flashcolor Examples: #ffffff,#ffffaa |
|
panelcolor Examples: #aa0000,#0000aa |
|
randomize Examples: 0,0.5 |
|
rotate Examples: 5,12 |
|
showControls Examples: true,false |
|
showTime Examples: 5000,1000 |
|
sound Examples: sounds/camera1.mp3,sounds/camera2.mp3 |
|
volume Examples: 0.3,0.7 |
|
Image
|
|
caption Examples: Photo 1,Photo 2 |
|
frame Examples: _self,_top |
|
href Examples: http://www.google.com/,http://www.yahoo.com/ |
|
scale Examples: 1,0.5 |
|
src Examples: images/1.jpg,images/2.jpg |
|
ZoomImage
|
|
caption Examples: Photo 1,Photo 2 |
|
frame Examples: _self,_top |
|
href Examples: http://www.google.com/,http://www.yahoo.com/ |
|
scale Examples: 1,0.5 |
|
src Examples: images/1.jpg,images/2.jpg |
|
zoomFactor Examples: 0.1,0.4 |
|
zoomToX Examples: 130,210 |
|
zoomToY Examples: 130,210 |
Styles
It is often useful to apply the same attributes to a whole section of XML. In order to do so, you can include such attributes in the special <style> </style> tag. All of the attributes in the style tag are applied to the elements it contains.
External configuration files
You can also include external configuration files in your XML. To do this, use a tag like this: <include file="filename"/>
Extra Customization
If you would ike to include new fonts, images or other effects, please write to us with a feature request.