Closed fddxsc closed 6 years ago
I can confirm this behaviour, however I have only noticed it on Windows this far.
Something tells me that this line is returning true and marking the file as a directory, but I would need to look into it further to prove or disprove it.
Here are more symptoms:
accept=""
is set. It may be empty, but as soon as it's there, stuff goes awryThis issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
HTML code:
JS code: function PreviewImage(imgFile){ //alert(imgFile.value); document.getElementById("bgPreview").src = imgFile.value; };
Image File Name: image1 name:8b78d8f8fca9d01d93dab145f99a6a20.jpg image2 name:123.jpg
Description: First, choose image1 then change to image2. Image2 cannot be loaded because that it has a wrong path(imgFile.value).
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.