diff --git a/resources/templates/detail.html b/resources/templates/detail.html index eab696d..4f0d2d8 100644 --- a/resources/templates/detail.html +++ b/resources/templates/detail.html @@ -41,7 +41,7 @@
- {{ image.title }} + {{ image.title }}

diff --git a/src/clj/yenu/helpers/images.clj b/src/clj/yenu/helpers/images.clj index d4e2bec..8fc6b7a 100644 --- a/src/clj/yenu/helpers/images.clj +++ b/src/clj/yenu/helpers/images.clj @@ -33,8 +33,7 @@ ["normal" "raw" "thumbnails"])) (defn scale-thumbnail [width] - #(let [image-file % - [orig-width orig-height] (dimensions (utils/buffered-image image-file))] + #(let [image-file % [orig-width orig-height] (dimensions (utils/buffered-image image-file))] (if (< orig-width orig-height) (let [resized-img (resize-to-width image-file width) [w h] (dimensions resized-img)