CamoImageTag
This plugin makes it easy to have your non-HTTPS image tags rewritten to take advantage of a Camo proxy
Installation
To use it, add it to your Gemfile:
gem 'camo_image_tag'
Configuration
You should specify two environment variables to tell Rails where to find your Camo proxy.
CAMO_KEY
CAMO_HOST
If you do not specify them, they will use the Camo defaults.
Testing
Camo Image Tag uses RSpec for its test coverage. Inside the gem directory, you can run the specs for Ruby on Rails 3.x with:
rake spec
Author
-
Jason Garber
Copyright © 2012 Jason Garber (jasongarber.com/). Released under the MIT license