Rack middleware for image resizer. Can be integrated with CarrierWave.