How to download pictures at parse.com

    1 answer 1

    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); }