diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html
index 02cae79..f7259bf 100644
--- a/layouts/shortcodes/img.html
+++ b/layouts/shortcodes/img.html
@@ -1,10 +1,11 @@
+{{ $base := (findRE "/[a-zA-Z0-9_]+/" .Site.BaseURL | default "/") }}
+{{ if .Get "lazy" }}
\ No newline at end of file
+
+{{ else }}
+
+{{ end }}
\ No newline at end of file