public
Description: Radiant is a no-fluff, open source content management system designed for small teams.
Home | Edit | New

Paperclipped Extension

Installation

ImageMagick

To find out if your system has ImageMagick available run which convert, if you see a path returned you’re ready, if not use your system’s package manager to get a copy. Any modern GNU/Linux distribution should have an ImageMagick package available and MacPorts has one for Mac users.

Settings

The Settings extension is optional, but recommended if you’d like an easy interface for setting Paperclipped options.

./script/extension install settings

(If this fails see the manual installation instructions)

Paperclipped

./script/extension install paperclipped

(If this fails see the manual installation instructions)

Then you need to install and require the ImageSize gem.

sudo gem install imagesize

Then open your config/environment.rb file and add

config.gem 'imagesize', :lib => 'image_size'

inside the Radiant::Initializer.run block.

Then restart your application server.

Configuration Options

Radiant::Config["assets.additional_thumbnails"]
Radiant::Config["assets.storage"]
Radiant::Config["assets.s3.key"]
Radiant::Config["assets.s3.secret"]
Radiant::Config["assets.s3.bucket"]
Radiant::Config["assets.s3.url"]
Radiant::Config["assets.s3.path"]
Radiant::Config["assets.content_types"]
Radiant::Config["assets.skip_filetype_validation"]
Radiant::Config["assets.max_asset_size"]

Usage

Check the Paperclipped README for usage details.

Last edited by johnmuhl, Thu May 14 09:24:12 -0700 2009
Home | Edit | New
Versions: