Dynamic render images when visiting webpage at /.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Noise test</title>
|
||||
<link rel="stylesheet" type="text/css" href="perlin.css" media="screen" />
|
||||
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
|
||||
</head>
|
||||
<body>
|
||||
{% for s in specimens %}
|
||||
@@ -11,8 +11,8 @@
|
||||
{% for np in s.params %}
|
||||
<figure>
|
||||
<p>
|
||||
<a href="{{ np.image_name() }}">
|
||||
<img width="{{ np.width }}" height="{{ np.height }}" src="{{ np.image_name() }}?t={{ render_time }}"/>
|
||||
<a href="{{ np.big_url()|safe }}">
|
||||
<img width="{{ np.width }}" height="{{ np.height }}" src="{{ np.url()|safe }}"/>
|
||||
</a>
|
||||
<figcaption>{{ np.compact_string() }}</figcaption>
|
||||
</figure>
|
||||
|
||||
Reference in New Issue
Block a user