Make Images SSL is a simple image proxy based using a Rack middleware. MISSL performs basic filtering to limit content type to images, and content length to 5MB. Local IP addresses are also restricted.
Add this line to your application's Gemfile:
gem 'missl', :git => 'git://github.com/vexsoftware/missl.git'And then execute:
$ bundleTo proxy a non-SSL image on Rails, use the following for the image URL:
missl_path(:url => "http://example.com/path/to/image.png")- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
Copyright (c) 2012 Vex Software LLC, released under the MIT license.