A simple sinatra project showing how easy it is to make an image resizing service.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Gemfile
README.markdown
config.ru
image_server.rb

README.markdown

Introduction

This is a toy image resizing and cropping service written in sintra. While it's not quite production ready, it could be with about an hours work. It's not that different from what we built for our images at OfficeSpace.com.

For more info, checkout my how-to article on building an image resizing server in sinatra.

Usage

  1. Clone the repo
  2. bundle install
  3. run rackup
  4. Point your browser at a url like this: http://localhost:9292/images/resize/50x/www.starrhorne.com/images/mexico_bicentennial.jpg