I want to make a fancy image uploading system in html. When the user selects an image into a input file, a thumbnail of the image will show up.
As I have read there is no way to get the path of the image from the input file because of the security issues.
Can someone tell me how can I make this with javascript (using jQuery)?
Thank you!
I want to make a fancy image uploading system in html. When the user
Share
You can’t access the file contents before the file is uploaded to your server, unless you’re using Chrome which has some fancy features in this area.
What you can do is upload the file and then fetch the file generated as a thumbnail with PHP, I don’t think that’s the answer you’re looking for thought. So instead, to give you a fair answer: no, you can’t do this.