public
Description: Rails plugin for uploading images as resources, with support for resizing, text stamping, and other special effects.
Home | Edit | New

MagicColumns

Fleximage can record certain image metadata to your database for you. This works exactly the same as Rails magic fields like created_at. Simply having a field with the right name in your database table will let Fleximage know that those fields need to be populated when an image is uploaded.

image_filename, :string

The field will autofill with the filename of the uploaded file. It will not include the local path, just the name of the file itself. If the image was uploaded via URL, the entire URL is saved.

image_width, :integer

Records the width, in pixels, of the uploaded image.

image_height, :integer

Records the height, in pixels, of the uploaded image.

Last edited by Squeegy, Sat Apr 05 16:13:59 -0700 2008
Home | Edit | New
Versions: