diff --git a/templates/image_detail.html b/templates/image_detail.html index 8d3f98bce1b318b3a45b3187e0e11a1a12141af1..455f1c4668990602d7c3d10f88655469297bf6c7 100644 --- a/templates/image_detail.html +++ b/templates/image_detail.html @@ -7,9 +7,9 @@ {{else}} <h2 class="title">{{.Image.Title}}</h2> {{end}} - <div class="image"> + <a class="image" href="/{{.Image.Id}}"> <img src="/{{.Image.Id}}"> - </div> + </a> {{if .IsMine}} <p class="description fake-input" contenteditable="true" placeholder="Description" data-multiline>{{.Image.Description}}</p>