Browse the Ruby on Rails Community.

You are here: Browse Railsplugins Rotation Fu

Rotation Fu

Rotation is a simple plugin that will read your exif orientation data and rotate your image accordingly. Currently this is made only to work with mini_magick, although I will be adding as many processors as I can possibly think of as time goes on.

This assumes that you are using attachment_fu to handle your uploads and so therefore will have access to all the standard attachment_fu attributes.

Example

Just put rotation_fu in your model name and your images will automagically be rotated if they have the embedded exif data.

Example:

class Photo < ActiveRecord::Base

rotation_fu

end

Copyright© 2008 Matthew Vincent, released under the MIT license

NOTE: This description has been extracted from the Plugin README and so the formatting may need updating to make browser friendly

Users


See all details


Membership

+ Join this railsplugin

Record Maintainer

'None'