GitXplorerGitXplorer
t

rack-upside-down-ternet

public
3 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
a4823da671ab9231c67d5d326033d752d4f9bfd6

flesh out docs

ttrydionel committed 15 years ago
Unverified
e1edfc14f3cc1ec0c339ef9cb581f402ef9b1b48

Set default effect

ttrydionel committed 15 years ago
Unverified
1dd99603a7f9313731349c539d32925287466e03

Finishing up first draft

ttrydionel committed 15 years ago
Unverified
b6f3ea194b873d123568b63a5dab776e01817d88

first draft

ttrydionel committed 15 years ago
Unverified
48983ffddb6aa4644b2131859c6e32b537a2f117

initial commit

ttrydionel committed 15 years ago

README

The README file for this repository.

Introduction

Inspired entirely by @jasonnoble, this Rack middleware recreates the upside-down-ternet described in http://www.ex-parrot.com/pete/upside-down-ternet.html.

Fun Stuff

Works just like any other middleware. Bonus: set your own image transformations!

# environment.rb
require 'rack_upside_down_ternet'
config.middleware.use Rack::UpsideDownTernet, '-blur 10'

Broken Stuff

  • Uses curl instead of just grabbing the file out of the images directory
  • Doesn't even kinda work with remote/absolute URL images
  • Requires unicorn (or any multi-worker setup). Make sure you have at least 2 workers running, as your first request will block curl from downloading images
  • Requires that you create PROJECT_DIR/tmp and PROJECT_DIR/images/mod