use it in your app
- Add the bootstrap-wysihtml5 customizations and jqueryupload.js defined in this project custom_image_wysihtml5.js jqueryupload.js
- Build endpoint to return (by AJAX) a list of available images (like /attachable_images is defined in app.rb)
- Build endpoint to handle image upload (like /upload is defined in app.rb)
- You're on your way
- Bass Jobsen who integrated a jQuery.upload implementation so that you can upload images in the dialog. I merged in his code from https://github.com/bassjobsen/wysihtml5-image-upload/ and added the Sinatra endpoint to fake uploads (for this demo app).