diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html
index 61aaceb..469e4ad 100644
--- a/layouts/shortcodes/img.html
+++ b/layouts/shortcodes/img.html
@@ -9,7 +9,7 @@ care about is 700*4=2800px.
{{ $src := resources.GetMatch (.Get "src") | resources.Fingerprint }}
-{{ $max := $src | resources.Fingerprint }}
+{{ $jmax := $src | resources.Fingerprint }}
{{ $j350 := $src.Resize "350x" }}
{{ $j700 := $src.Resize "700x" }}
{{ $j1400 := $src.Resize "1400x" }}
@@ -22,6 +22,7 @@ care about is 700*4=2800px.
{{ errorf "missing value for param 'hint': %s" .Position }}
{{ end }}
{{ $hint := .Get "hint" }}
+{{ $wmax := $src.Resize (printf "%dx%d webp" $src.Width $src.Height) }}
{{ $w350 := $src.Resize (print "350x webp " $hint ) }}
{{ $w700 := $src.Resize (print "700x webp " $hint ) }}
{{ $w1400 := $src.Resize (print "1400x webp " $hint ) }}
@@ -31,36 +32,44 @@ care about is 700*4=2800px.
{{ with .Get "link" }}{{ end }}