Topic: upload a single file
hi
I have written this post on stack overflow:
http://stackoverflow.com/questions/30917249/plupload-upload-a-single-image-file
But I didn't get an answer and wondered if anyone can help. Here is the question.
To recap.
I am trying to get this functionality:
1> User clicks pick image button and file is uploaded (working now)
2> User clicks pick image button again and existing file is replaced with new.
3> User clicks remove button and the file is removed.
This fiddle shows where I am:
http://jsfiddle.net/angusbeare/WuSJT/128/
I'm struggling to work out how to do this.
Can anyone help?
thanks