Ruby HTML JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app Init Aug 22, 2017
bin Init Aug 22, 2017
config Init Aug 22, 2017
db Init Aug 22, 2017
lib Init Aug 22, 2017
log Init Aug 22, 2017
public Init Aug 22, 2017
test Init Aug 22, 2017
tmp Init Aug 22, 2017
vendor Init Aug 22, 2017
.gitignore Init Aug 22, 2017
.ruby-version Init Aug 22, 2017
Gemfile Init Aug 22, 2017
Gemfile.lock Init Aug 22, 2017
Procfile Init Aug 22, 2017
README.md Fix readme links. Aug 24, 2017
Rakefile Init Aug 22, 2017
config.ru Init Aug 22, 2017
package.json Init Aug 22, 2017

README.md

example-shrine-dropzone

Read the blog post about this example here: Rails: Uploading images confidently with Shrine.rb

There are two branches, one with background jobs enabled (backgrounding) and one with it disabled/removed (master)


Source code: codyeatworld/example-shrine-dropzone

Backgrounding: codyeatworld/example-shrine-dropzone/tree/backgrounding

Live example: stark-falls-70810.herokuapp.com/


Features

  • Upload images to Amazon S3
  • Image versioning (sm, mg, lg, etc...)
  • Ensure image files are cleaned up
  • Upload in background
  • Validate size and filetype
  • Remove attached image
  • Cache image file on errors
  • Drag and drop upload
  • Access images through CloudFront CDN