Sign In
Start Page | Recent Changes | All Pages | Orphan Pages | Junebug Help

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

  1. Open your Radiant admin panel
  2. Click on the “Galleries” tab
  3. Create a new gallery by clicking “New Gallery”
  4. Enter a name and description for your gallery
  5. FTP or copy your images to [radiant directory]/public/galleries/import
  6. 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 tag, so the pages actual contents will be ignored.

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!]


Version 8 | Other versions: « older newer » current versions
Page last edited by bryan on August 03, 2008 06:58 PM (diff)