EffectsCode.com logo

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
URL for background graphic.

Examples: images/background.jpg,images/background2.jpg

captioncolor
The color of the photo captions.

Examples: #0000ff,#ff0000

captionfont
The font to use for captions (Flash fonts:Arial,Courier,...).

Examples: #0000ff,#ff0000

captionfontsize
The font size to use for captions.

Examples: The font size to use.,12

flashcolor
The color of the camera flash.

Examples: #ffffff,#ffffaa

panelcolor
The color of control and caption panels.

Examples: #aa0000,#0000aa

randomize
Proportion of shotTime to randomize (0-1). This allows for a more natural slideshow look, that is not strictly regular. Zero is entirely regular, 1 is very random.

Examples: 0,0.5

rotate
Add random rotation to the images, with this setting the bound rotation values in + and - degrees.

Examples: 5,12

showControls
Set to true to display controls for pausing and progressing the slide-show.

Examples: true,false

showTime
How many milliseconds to display each photo for.

Examples: 5000,1000

sound
Link to an mp3 sound effect to play each time an image is displayed.

Examples: sounds/camera1.mp3,sounds/camera2.mp3

volume
How loud to play the camera sounds - from 0 to 1.0.

Examples: 0.3,0.7

Image

caption
Caption text

Examples: Photo 1,Photo 2

frame
Frame to open any links in.

Examples: _self,_top

href
Link to open on click.

Examples: http://www.google.com/,http://www.yahoo.com/

scale
Amount to scale the image (0-1).

Examples: 1,0.5

src
URL of image to display

Examples: images/1.jpg,images/2.jpg

ZoomImage

caption
Caption text

Examples: Photo 1,Photo 2

frame
Frame to open any links in.

Examples: _self,_top

href
Link to open on click.

Examples: http://www.google.com/,http://www.yahoo.com/

scale
Amount to scale the image (0-1).

Examples: 1,0.5

src
URL of image to display

Examples: images/1.jpg,images/2.jpg

zoomFactor
Proportion of zoom to show (0-1)

Examples: 0.1,0.4

zoomToX
X co-ordinate of image to center zoom on.

Examples: 130,210

zoomToY
Y co-ordinate of image to center zoom on.

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.

© 2007 EffectsCode.com All rights reserved.