jQuery File Upload photo gallery originating from http://railscasts.com/episodes/381-jquery-file-upload