/imageshack

This plugin basically upload an image to ImageShack and stores the url in the database.

Primary LanguageRubyMIT LicenseMIT

Imageshack
==========

This plugin basically upload an image to ImageShack and stores the url in the database.


Example
=======

Migration:

  class CreateUsers < ActiveRecord::Migration
    def self.up
      create_table :users do |t|
        t.string :name
        t.string :photo
      end
    end
  
    def self.down
      drop_table :users
    end
  end

Model:

  class User < ActiveRecord::Base
    upload_image_to_imageshack :photo
  end


Copyright (c) 2010 Carlos Brando, released under the MIT license