This extension allows you to create galleries of Paperclipped Assets. Provides an admin interface to add, sort and remove assets from a Gallery with drag and drop, and radius tags to easily include the Galleries in your site.
sbmsuite modified the views from zapnap/radiant-flash-gallery-extension to use in the new extension. However THIS IS NOT A FORK. It is a newly created extension. jfqd modified the extension to support ujs drag and drop and globalize2-paperclipped compatibility.
Tested with radiant 0.9.1
Install the Paperclipped Extension before the Asset Gallery Extension:
git clone git://github.com/kbingman/paperclipped.git vendor/extensions/paperclipped rake production db:migrate:extensions rake production radiant:extensions:paperclipped:update
Now install the Asset Gallery Extension:
git clone git://github.com/jfqd/radiant-asset_gallery-extension vendor/extensions/asset_gallery rake production db:migrate:extensions rake production radiant:extensions:asset_gallery:update
Be careful about the extensions load order:
config.extensions = [ :paperclipped, :all ]
<r:gallery:each> <div> <div><r:gallery:first_image size="thumbnail" /> <div><r:gallery:name /></div> </div> </r:gallery:each>
<r:gallery:items name="my-gallery"> <div class="slide"> <r:gallery_item:image size="normal" /> <p><r:gallery_item:caption /></p> </div> </r:gallery:items>
This extension is compatible with the Globalize2-Paperclipped Extension. You need to install the Globalize2-Paperclipped Extension before the Asset Gallery Extension. Please read the installation information about the Globalize2-Paperclipped Extension in the Readme.
git clone git://github.com/Aissac/radiant-globalize2-paperclipped-extension.git vendor/extensions/globalize2_paperclipped rake radiant:extensions:globalize2_paperclipped:migrate rake radiant:extensions:globalize2_paperclipped:update
Be careful about the extensions load order:
config.extensions = [ :paperclipped, :globalize2, :globalize2_paperclipped, :all ]