Skip to content
A jQuery plugin for creating an interactive 360º image rotator.
JavaScript CSS
Branch: master
Clone or download
austenpayan Merge pull request #6 from bryant1410/master
Fix broken headings in Markdown files
Latest commit 416da2f Aug 3, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Jul 28, 2014 Fix broken Markdown headings Apr 17, 2017
rollerblade.css Added CSS and JSON file. Jul 28, 2014
rollerblade.js Fix merge conflicts Nov 25, 2014
rollerblade.min.js Re-minify javascript Nov 25, 2014


A jQuery plugin for creating an interactive 360º image rotator.


With Rollerblade, you can easily give your webpage visitors a great 360º viewing experience with your product, images, or anything else you can think of.

The Setup.

First, include rollerblade.css at the top of your page with your CSS. Or, since the contents of that file are so small, simply copy and paste the rollerblade.css contents into your main CSS file.

Next: Rollerblade targets a container element with an image element inside that has the class of "rollerblade-img". Make the src of the image the path to the first image in your rotator.

<div id="target">
  <img class="rollerblade-img" src="path/to/first/image.jpg">


Make sure jQuery is included in your page, and then select the container element and call the rollerblade method. At the very minimum, you have to pass in an array of image urls as a property of the options object. The property must be called 'imageArray'.

    // You can specify an array of images outside of the rollerblade method,
    // and then pass it in, as so:
    var arrayOfImages = [
    // OR you can create the array directly in the options object, as so:


Rollerblade accepts the following options:

Property Name Type Values Description Default
sensitivity int Any integer The lower the number, the more sensitive the rotator will be. The number value represents distance in pixels between each frame change. 35
drag bool true/false Determines if the rotator is draggable. If set to false, image will rotate on any mouse movement along the X axis of the page. true
auto bool true/false Determines if rotator should spin by itself. Default is set to false. If set to true, rotator will spin and user interaction will be disabled. false
edgeStop bool true/false Determines if the rotator should keep on rotating when the first or last image is reached. false
You can’t perform that action at this time.