jdlphotos,
try this:
- create a new folder on your harddisk, name it "roland"
- copy three pictures (jpg) into this rolandfolder
- rename this three pictures to
one.jpg
two.jpg
three.jpg
- copy swfobject.js and TiltViewer.swf into this rolandfolder
- run notepad.exe and copy the following lines in it:
<?xml version="1.0" encoding="UTF-8"?>
<tiltviewergallery>
<photos>
<photo imageurl="one.jpg" showFlipButton="true">
<title>first photo</title>
<description></description>
</photo>
<photo imageurl="two.jpg" showFlipButton="true">
<title>second photo</title>
<description></description>
</photo>
<photo imageurl="three.jpg" showFlipButton="true">
<title>third photo</title>
<description></description>
</photo>
</photos>
</tiltviewergallery>
- save it into the rolandfolder and name it mygallery.xml
- run again notepad.exe and copy the following lines in it:
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>This gallery is from jdlphotos</title>
<script type="text/javascript" src="swfobject.js">
</script>
<style type="text/css">
/* hide from ie on mac \*/
html {height: 100%;
overflow: hidden;}
#flashcontent {height: 100%;}
/* end hide */
body {height: 100%;
margin: 0;
padding: 0;
background-color: #000000;
color: #ffffff;
font-family:sans-serif;
font-size:14;}
a {color:#cccccc;}
</style>
</head>
<body>
<div id="flashcontent">TiltViewer benoetigt JavaScript und den neuesten Flash-Player.
<a href="http://www.macromedia.com/go/getflashplayer/">Den neuesten Flash-Player gibt es hier.</a>
</div>
<script type="text/javascript">
var fo = new SWFObject("TiltViewer.swf", "viewer", "100%", "100%", "9.0.28", "#000000");
fo.addVariable("useFlickr", "false");
fo.addVariable("xmlURL", "mygallery.xml");
fo.addVariable("maxJPGSize", "640");
fo.addVariable("enableSounds", "false");
fo.addVariable("useReloadButton", "false");
fo.addVariable("columns", "3");
fo.addVariable("rows", "3");
fo.addVariable("frameColor", "0xFFFFFF");
fo.addVariable("backColor", "0xFFFFE1");
fo.addVariable("bkgndInnerColor", "0x333333");
fo.addVariable("bkgndOuterColor", "0x000000");
fo.addParam("allowFullScreen", "true");
fo.write("flashcontent");
</script>
</body>
</html>
- save it into the rolandfolder and name it index.htm
- run your browser and open index.htm of your rolandfolder to see your gallery.
If you want to publish your gallery to the internet, you have to upload these seven files:
one.jpg
two.jpg
three.jpg
swfobject.js
TiltViewer.swf
mygallery.xml
index.htm
Good luck!
And *NO*, it is not possible to condense these seven files into one swf-file.
Regards
Roland