Search code examples
ruby-on-railsrubyimageactiondragonfly-gem

Rails Image Upload + Thumb + Delete all in one


Is it possible to render a file_upload tag and an image_tag also with an delete button using Dragonfly or another gem? This should all be rendered via the apply_helper, but the rest should be (I think) javascript?

Any advice is welcome!

I’m looking for something like this:

Example


Solution

  • i think you need something like this

    Preview an image before it is uploaded