Select Text read_text.html
display_resources_exp_c.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Select Images</title>
</head>
<body>
<h1>Select Images to Blend</h1>
<form method="POST" action="{{ url_for('get_images') }}">
{% for image_path in image_paths %}
<div>
<label>
<input type="radio" name="role_{{ loop.index }}" value="top" required> Top
</label>
<label>
<input type="radio" name="role_{{ loop.index }}" value="mask"> Mask
</label>
<label>
<input type="radio" name="role_{{ loop.index }}" value="bottom"> Bottom
</label>
<input type="hidden" name="image_{{ loop.index }}" value="{{ image_path }}">
<img src="{{ image_path }}" alt="Image" style="width: 200px;">
</div>
{% endfor %}
<button type="submit">Blend Images</button>
<button type="submit" name="randomize" value="true">Blend Random Images</button>
</form>
</body>
</html>
Back to file list