|
|
|
@ -18,9 +18,9 @@
|
|
|
|
|
</style>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
{% for image in images %}<a href="/image/{{image}}"><img src="{{ image }}"></a>{% endfor %}
|
|
|
|
|
{% for image in images %}<a href="{{ url_for('zoomedimage', imgpath=image|replace('static/img/', '')) }}"><img src="{{ image }}"></a>{% endfor %}
|
|
|
|
|
|
|
|
|
|
<form action="/upload/" method="POST" enctype="multipart/form-data">
|
|
|
|
|
<form action="{{ url_for('upload_file') }}" method="POST" enctype="multipart/form-data">
|
|
|
|
|
<label for="tile">Choose an image to upload:</label>
|
|
|
|
|
<input type="file"
|
|
|
|
|
id="tile" name="tile" required>
|
|
|
|
|