问题
I'm trying to upload images directly to Cloudinary from my Rails app, since I'm on Heroku and can't use the server as an intermediary. They have support for this using jQuery, but when I follow their directions, I get the following error jquery.fileupload-fp.js:
Uncaught TypeError: Cannot read property 'fileupload' of undefined.
$.widget('blueimp.fileupload', $.blueimp.fileupload, {
Cloudinary replied with an email saying that I should include the js files in the correct order, but they are all included and in the right order. I asked them again, but they might take a while to get back to me and this is somewhat time sensitive.
Thanks!
来源:https://stackoverflow.com/questions/15230336/uploading-images-directly-to-cloudinary