diff --git a/layouts/partials/picture.html b/layouts/partials/picture.html
index 6a915964..9f15926e 100644
--- a/layouts/partials/picture.html
+++ b/layouts/partials/picture.html
@@ -81,66 +81,64 @@
type="image/webp"
/>
{{ end }}
- {{ with $img }}
- {{ $orientation := 1 }}
- {{ with .Exif }}
- {{ $orientation = .Tags.Orientation }}
- {{ end }}
- {{ if eq $orientation 1 }}
-
- {{ else if (eq $orientation 8) }}
-
+ ,{{ .RelPermalink }} {{ .Width }}w
+ {{ end }}"
+ src="{{ (.Resize "660x").RelPermalink }}"
{{ end }}
+ >
+ {{ else if (eq $orientation 8) }}
+
{{ end }}
{{ end }}