Now we must create an appropriate configuration file. More infos on
Carousel dokuwiki.
XML files must be edited with a plain text editor (such as Notepad, TextEdit, emacs, vi, etc.). Don't use word processors (like Microsoft Mord or
WYSIWYG editors)
The first part of the file contains several options. You can change the background, interaction style, how do far images look, and how do reflexes images look. More info about these parameters will be available soon on the main site: this is not the place to discuss general options. Let me rather focus on the photo list.
Here you have a sequence of <photo> tags. This is the place where you must put all your photos URL.
I have uploaded 3 photos and their URLs are:
http://files.splinder.com/7b981c51754017fde851418e5c6581c4.jpeg
http://files.splinder.com/9e763d04b252f44be63e1af2d95fcc29.jpeg
http://files.splinder.com/0b1d21ec6f8c3d90168ea00d335d05cc.jpeg
(Advanced remark: these 3 URLs are not my original images. I exploited the fact that Splinder automatically makes thumbnails for me: I’m using small images inside the Carousel).
To have a very basic carousel it is enough to make the photo list look like this:
<photo>http://files.splinder.com/7b981c51754017fde851418e5c6581c4.jpeg</photo>
<photo>http://files.splinder.com/9e763d04b252f44be63e1af2d95fcc29.jpeg</photo>
<photo>http://files.splinder.com/0b1d21ec6f8c3d90168ea00d335d05cc.jpeg</photo>
But this way, if you click on an image, nothing happens.
It would be better to add a link to each image. To do this, simply add an href (and optionally a target) to each <photo> tag just like you do with <a> tag in html.
So for example I can link the first photo to the image itself:
<photo href="http://files.splinder.com/c89691ce40a4d8c0f4c8a7f3a944a692.jpeg" target="_blank">http://files.splinder.com/7b981c51754017fde851418e5c6581c4.jpeg</photo>
(Advanced remark: the URLs are different because I used the thumbnail image to link to the original size one)
The second photo may link to the Splinder page containing it:
<photo href="http://www.splinder.com/mediablog/saveriocaminiti/media/14678673" target="_blank">http://files.splinder.com/9e763d04b252f44be63e1af2d95fcc29.jpeg</photo>
And the third one link to a Google search for my name:
<photo href="http://www.google.it/search?hl=en&q=saverio+caminiti" target="_blank">http://files.splinder.com/0b1d21ec6f8c3d90168ea00d335d05cc.jpeg</photo>
(Advanced remark: notice that in XML you MUST escape & even inside tag values)
I’ve always used
target="_blank", to open links in new windows. If your popup blocker complains about opening a new window from a flash movie, it is my opinion that you should configure your popup blocker better; otherwise it will prevent almost any action requested from a flash movie.
This is how my xml file looks like:
http://files.splinder.com/4371f0355b505dabf318133619abe41e.xml
Is your like mine? Good. Upload it on your blog and obtain its URL (exactly as we did for the swf file).
We are close to the end. Next step will be the last one.