diff --git a/wowchemy/layouts/shortcodes/figure.html b/wowchemy/layouts/shortcodes/figure.html
index 681d630f..0fe0309e 100644
--- a/wowchemy/layouts/shortcodes/figure.html
+++ b/wowchemy/layouts/shortcodes/figure.html
@@ -3,6 +3,7 @@
{{ $destination := .Get "src" }}
{{ $caption := .Get "caption" | default (.Get "title") | default "" }}{{/* Support legacy `title` option. */}}
+{{ $zoom := eq (.Get "lightbox" | default "true") "true" }}
{{ $id := anchorize (.Get "id" | default ($caption | plainify)) }}
{{ $alt := .Get "alt" | default ($caption | plainify) }}
@@ -19,7 +20,7 @@
{{ else }}
{{- $img_lg := $img.Fit "1200x1200" -}}
@@ -35,10 +36,10 @@
width="{{ $width }}"
height="{{ $height }}"
loading="lazy"
- data-zoomable />
+ {{ if $zoom }}data-zoomable{{end}} />
{{ end }}
{{- else -}}
-
{{- end -}}