Building a gallery with Rails 5, Paperclip for image processing and blueimp for JS image interaction.