Skip to content
Snippets Groups Projects
Verified Commit 71d47ab8 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Use .png suffix for image URLs

parent a0a6a35a
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment