How to download pictures at parse.com
1 answer
Dialog box for image selection:
<input type="file" id="profilePhotoFileUpload"> Sending to server:
var fileUploadControl = $("#profilePhotoFileUpload")[0]; if (fileUploadControl.files.length > 0) { var file = fileUploadControl.files[0]; var name = "photo.jpg"; var parseFile = new Parse.File(name, file); } |