no image // callback(savedParseFile, error) download: function (url, filename, callback) { Parse.Cloud.httpRequest({ url: url, followRedirects: true, success:function(httpResponse) { var parseFile = new Parse.File(filename , {base64: httpResponse.buffer.toString('base64', 0, httpResponse.buffer.length)}); // parseFile.save().then(function() { // callback(parseFile, null); // }, function(error) { // console.error('Downloader fails to save parse file.'); // }); parseFile.save({ success:function() { callback(parseFile, null); }, error:function() { callback(null, 'Downloader fails to save parse file.'); } }); }, error:function(httpResponse) { callback(null, 'Downloader fails to download file.'); } }); }