Attention: This project has just born so it's not usable yet.
This system consists of two parts:
Given url that especifies the image and transformations and returns that image transformed
This module consists on a system to store files. There are three places:
This folder stores original files. All these files must be saved with a backup system so they are original files
Contains the original photo files
Contains the original watermarks files
This folder stores transformed images this files can be removed at any time, they are cache files to speed serving transformed files
This folder contains all image transformations served
This folder contains all watermarks transformations served: files stored are simple images or image text files
#Available Transformations
resize(width, height) crop(width, height, x, y) watermark(watermark_name, POSITION) text(text, font_options, POSITION) scale({:width || :height})
#Available POSITIONS
TopCenter == Top
TopRight
TopLeft
BottomCenter == Bottom
BottomRight
BottomLeft
MiddleCenter == Middle
MiddleRight
MiddleLeft
rails g asset::install
Copyright (c) 2010 Ricard Forniol Agustí, released under the MIT license