Commit 71d47ab8 authored by Janne Koschinski's avatar Janne Koschinski

Use .png suffix for image URLs

parent a0a6a35a
......@@ -8,7 +8,7 @@
<h2 class="title">{{.Image.Title}}</h2>
{{end}}
<a class="image" href="/{{.Image.Id}}">
<img src="/{{.Image.Id}}">
<img src="/{{.Image.Id}}.png">
</a>
{{if .IsMine}}
<p class="description fake-input" contenteditable="true" placeholder="Description"
......
......@@ -4,7 +4,7 @@
{{range .Images}}
<a class="image" href="/i/{{.Id}}">
<div class="image-container">
<img src="/{{.Id}}t">
<img src="/{{.Id}}t.png">
</div>
<div class="info">
<p>{{.OriginalName}}</p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment