AwsImageshack

v 0.1.0 : december 2010, first release

see wiki for more detailled information : wiki.github.com/supernini/aws_imageshack/

Example

To use aws_imageshack, you need first to request a key at <a href=“imageshack.us/content.php?page=developer”>ImageShack</a>

#in your controller, create an action and place this code

def upload_function

@image_shack = aws_imageshack(:options => {:size => 5, :position => 'top', :image => @image_shack, :width => 50}, :params => params, :api_key => '234DNUWX2e44a0a56a245678963bcb127a1061ca')
#save @image_shack, the url of the uploaded image

end

That all !