I want to adapt jquery-file-upload http://blueimp.github.io/jQuery-File-Upload/ to use like user profile image uploader,
1- only upload one image - you can restrict whit: maxNumberOfFiles: 1, but when try to add another image it lets you do that and show: Error Maximum number of files exceeded
2- edit image - upload another image and replace the preview
or please suggest another plugin to accomplish user profile image upload, regards.
I was taking a bad approach, jquery-file upload allows you to send extra fields in this case user id so an independ form only to upload the image every time it select one autoUpload:true remove the normal preview list and make custom preview on fileuploaddone for only one image.