scullygroup / radiant-slideshow

A Radiant CMS extension that will allow you to upload, arrage, and publish images to a flash slideshow
http://scullytown.com
MIT License
5 stars 0 forks source link

h1. Radiant CMS Slideshows Extension

A straight-forward slideshow management gallery that allows for three individual slideshows per page. By default, they are named left, middle, and right.

Note: this version has been updated for Radiant 0.9.x. If you are using an older version of Radiant, please checkout the 0.8 branch.

h1. Features

h1. Requirements

*Imagemagick*
"http://www.imagemagick.org/script/index.php":http://www.imagemagick.org/script/index.php

*SWFObject*
"http://blog.deconcept.com/swfobject":http://blog.deconcept.com/swfobject

*Gems/Plugins*
Paperclip, "http://github.com/thoughtbot/paperclip/tree/master":http://github.com/thoughtbot/paperclip/tree/master
Rmagick, "http://rmagick.rubyforge.org":http://rmagick.rubyforge.org

h1. How to Install

Grab the extensions from GitHub and place it in vendor/extensions


  git clone git://github.com/scullygroup/radiant-slideshow.git vendor/extensions/slideshows

Run the following commands:


  rake radiant:extensions:slideshows:migrate
  rake radiant:extensions:slideshows:update

h1. How to Use

The slideshow is pulled into Flash using a RESTful URL that provides the XML like so:

/slideshow/:slug

Where :slug is the page slug of the current Radiant Page.

In your template, reference swfobject.js:


  

Be sure to vendor Paperclip in environment.rb


config.gem 'paperclip'

Then, create a section like the following, wherever you want the slideshow to appear:


  

The code above uses SWFObject to create the Flash embed code, using XML to populate the slideshow. This pulls all slides for the current page.

Copyright (c) 2010 Scully Group, released under the MIT License