index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title></title>
</head>
<body>
<label for="file"><img src="https://img1.gtimg.com/ninja/2/2018/06/ninja152965935477007.jpg" ></label>
<input type="file" id="file" style="display: none" accept="image/jpeg">
<div id="image">
<img src="http://s.img.mix.sina.com.cn/auto/crop?img=http%3A%2F%2Fn.sinaimg.cn%2Fent%2F4_img%2Fupload%2Fa57892fc%2F213%2Fw2048h1365%2F20190925%2Fa5f6-ifaench1146453.jpg&size=328_218" >
</div>
<script>
do