You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
672 B

<!DOCTYPE html>
<html lang="ch">
<head>
<meta charset="UTF-8">
<title>OPEN AND CLOSE</title>
</head>
<body>
<form method="POST" enctype="multipart/form-data">
{% csrf_token %}
<input type="file" name="img">
<button type="submit">上传</button>
</form>
<p1>原图</p1>
<br>
{# {% for img in imgs %}#}
{# <img src="{{ img.img.url }}" />#}
{# {% endfor %}#}
<img src="{{ img.img.url }}" alt=""/>
<br>
<p1>open</p1>
<br>
<img src="/media/OPANDCL/op.png" alt="op.png"/>
<br>
<p1>close</p1>
<br>
<img src="/media/OPANDCL/cl.png" alt="cl.png"/>
<br>
</body>
</html>