Closed nicooprat closed 8 years ago
Useful when having multiple file upload on the same page for example, a field can be added to differentiate photo galleries.
Usage example:
Cloudinary.upload(file, { fields: { postId: ..., userId: ... } }, (err, res) => {});
You may need to check my code because I also separated insert & update operations. Seems to work fine on my machine... But perhaps you did this for a specific reason :) Also, I'm not an expert at Coffeescript.
Sweet
Thanks! Would you mind bumping the version number & publishing to atmosphere?
Useful when having multiple file upload on the same page for example, a field can be added to differentiate photo galleries.
Usage example:
Cloudinary.upload(file, { fields: { postId: ..., userId: ... } }, (err, res) => {});
You may need to check my code because I also separated insert & update operations. Seems to work fine on my machine... But perhaps you did this for a specific reason :) Also, I'm not an expert at Coffeescript.