You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to implement file upload with parse server #213
Could you help me to implement file upload with parse server on client side and on server side.
Before migration to parse server, on client side, I used:
`myDropzone.on("addedfile", function(myfile) {
if(myfile && (myfile.size<3000000)){
var name = "avatar.png";
var parseFile = new Parse.File(name,myfile);
parseFile.save().then(function(){
Parse.Cloud.run("modify_avatar", {A:parseFile},{
success: function(reponse){
//on cloud code I attached the file path to User class.
},
error: function(error){ console.log(error); }
});
}, function(error){});
////
}
});`
That worked perfectly but now with parse server I do not know how to make it work.
I have my db on mongodb and deployed parse server on heroku. Everything is working fine except this file upload that I can't manage.
Activity
smanikandan14 commentedon Feb 3, 2016
I have reported the issue #136. Haven't got any response yet.
gfosco commentedon Feb 5, 2016
We'll look at fixing this very soon, please follow on in #136.