[Fix] Remove preview a image before it upload?

Hello all, I want to preview an image before it upload and it can remove preview (similar cancel select image). I only want to up 1 image/once select, preview it and can remove it. I have code in that link but now it still can select and preview more than 1 image (>1) but I want just one image, link code http://jsfiddle.net/h145xey9/20/ or http://jsfiddle.net/Lwczca6p/1/. Thank you very much.

Would it help to solve your issue if the file button is disabled when there is a preview, and when something is removed, that the file button becomes enabled once again?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.