How To Use the Gallery Extension
Check the third party extensions page for the most up-to-date information concerning the Gallery extension.
Installation
Navigate to your Radiant directory in Console. Then:
cd vendor/extensions
git clone git://github.com/pilu/radiant-gallery.git gallery
Then from your radiant application root (cd ../..) launch the install task:
rake RAILS_ENV=production radiant:extensions:gallery:install
Get Your First Gallery Set Up
- Open your Radiant admin panel
- Click on the “Galleries” tab
- Create a new gallery by clicking “New Gallery”
- Enter a
nameanddescriptionfor your gallery - FTP or copy your images to [radiant directory]/public/galleries/import
- On the index page for your gallery in the Radiant admin panel, click “Import Files” and follow the prompts
Install Your Gallery As a Page
During installation, you may choose to install a gallery layouts. Doing so is the easiest way to get your new gallery displaying on your site. (Note: it appears that it is safe to repeat the “rake” command after having already set up images in your gallery in order to install a layout if you chose not to the first time, or to install multiple layouts).
With one of these layouts created for you, simply select it from the drop-down on your gallery page. Note that neither of these layouts use the
From here, it is up to you to expiriment, and move the relavant code snippets around to meet your needs, and to alter these layouts to fit into the style of your site.
[working on getting more info to go here—if you’d like to contribute, go for it!]
