What is Rotate?
---------------
Rotate is a plugin that creates a slideshow from a directory of images using the jQuery Cycle Plugin.

How do I use it?
----------------
Make sure to include the jQuery script, as well as the Cycle Script. Then just place the following tag in your template or content: {rotate}

What parameters can I use with Rotate?
--------------------------------------
(optional) path   - Relative URL to pick images from (default is "uploads/images/").
(optional) effect - Transition effect (default is fade).
(optional) delay  - Interval between images (default is 5 seconds).
(optional) speed  - Transition speed (default is 2 seconds).
(optional) height - Image height (default is unspecified).
(optional) width  - Image width (default is unspecified).
(optional) max    - Max number of images to display (default is 10).

You can change the default path, delay, speed, and max parameters by editing line 6-10 of function.rotate.php.

Javascript
----------
Make sure to include the following scripts before using {rotate}. You need to upload cycle.js to your server and change /PATH/TO/ to it's correct path.

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="/PATH/TO/cycle.js"></script>


//////


The jQuery Cycle plugin is dual-licensed under the MIT and GPL licenses:
- http://www.opensource.org/licenses/mit-license.php
- http://www.gnu.org/licenses/gpl.html