The JW Image Rotator (built with Adobe's Flash) enables you to display photos in sequence with fluid transitions. It supports rotation of an RSS, XSPF or ASX playlists with JPG, GIF and PNG images, a wide range of FlashVars (variables) for tweaking both behavior and appearance and an extensive JavaScript API.
This section details a step-by-step process of how to install the JW Image Rotator onto your page. The download ZIP contains all you need to get started.
Step 1: Transfer the imagerotator.swf and imagerotator.xml file from the ZIP to your website. (Make sure that you’ve also uploaded all photos you want to show onto your site.)
Step 2: Edit the imagerotator.xml file so that it contains the titles, links and image URLs of your images. This can be done by using a simple text editor. If you want to add more photos, just paste additional track blocks in the .xml file.
Step 3: Embed the Image Rotator in your HTML page with the following lines of code. (Note: If you place the files in different directories, be sure to set the references in this embed code accordingly.)
<embed src="imagerotator.swf" width="470" height="160" allowscriptaccess="always" allowfullscreen="true" flashvars="file=imagerotator.xml&transition=blocks" />
Notice the flashvars parameter can contain a list of variables for configuring the rotator. To quickly set up FlashVars, read through the following Wiki page with all FlashVars. Select the variables you want to use and insert their names/values onto your page. It’s that simple.
Documentation of the rotator can be found at the developer site. It includes the roadmap, source code and bug tickets, as well as:
If you need more help, check out our tutorial on Embedding flash objects. It covers the simple embed method and the SWF Object method.
LongTail receives a lot of requests for creating customized versions of our Image Rotator. In most cases, a clever FlashVars setting can provide the solution you’re looking for, so please check the list of FlashVars.
If you still can’t find what you’re looking for and you’re familiar with ActionScript, you can change the Image Rotator yourself. To get started, we've provided a PDF with clear overview of the application structure. And remember, you can review all the source code from the Wiki.
Here's a list with some frequently-encountered problems.
Lastly, for tips, tricks, additional information and bug reports, you can always visit our support forum.
Here are some helpful links to learn more about the JW Player™: