Sha256: 2d3890aad22b6b75b9191792cc041d7e7dd407ff71f2c16055eff0ff81fa0564

Contents?: true

Size: 1.38 KB

Versions: 1

Compression:

Stored size: 1.38 KB

Contents

= rmce_uploadr

== URLs

=== GET /rmce_uploadr/images

* displays a list of all uploaded images along with their preview/snapshots
* has a hidden upload form with an "upload" button


=== GET /rmce_uploadr/images/:id

Displays a single image, its available dimensions and a form-like thing to tag/untag the image.


=== PUT /rmce_uploadr/images/:id

Modifies an images metadata (name, tags, etc.) and the image itself.


=== DELETE /rmce_uploadr/images/:id

Deletes an image from the DB as well as from the disk.


== POST /rmce_uploadr/images

Upload form submition handler


== GET /rmce_uploadr/tags.json

Returns an array of all (unique) tags used for images tagging.
e.g. [{"tag1": 3}, {"tag2": 5}, {"tag3": 7}]


== GET /javascripts/<a file name>.js

Returns a static javascript file from the gem's lib/rmce_uploadr/public/javascripts/ directory:
* rmce_uploadr.js
* tiny_mce/plugins/rmce_uploadr/editor_plugin.js


== Note on Patches/Pull Requests
 
* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
  future version unintentionally.
* Commit, do not mess with rakefile, version, or history.
  (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
* Send me a pull request. Bonus points for topic branches.

== Copyright

Copyright (c) 2010 alex. See LICENSE for details.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rmce_uploadr-0.0.1 README.rdoc