Skip to content

supernini/aws_imageshack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AwsImageshack
===========

Attention following the many problems of slowness with the imageshack site, the plugin will no longer be maintained

===========
v 0.1.0 : december 2010, first release

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

Take car, 


Example
=======

To use aws_imageshack, you need first to request a key at <a href="http://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 !

About

Use ImageShack to host your image, with un ajax upload form

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages