diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html index 3e5fdce8..e3ec319c 100644 --- a/layouts/_default/_markup/render-image.html +++ b/layouts/_default/_markup/render-image.html @@ -32,6 +32,7 @@ {{ (.Resize "660x").RelPermalink }} 660w, {{ (.Resize "1024x").RelPermalink }} 1024w, {{ (.Resize "1320x").RelPermalink }} 2x" + data-zoom-src="{{ (.Resize "1320x").RelPermalink }}" src="{{ (.Resize "660x").RelPermalink }}" alt="{{ $altText }}" /> diff --git a/layouts/shortcodes/figure.html b/layouts/shortcodes/figure.html index fb7293c8..99cd33b1 100644 --- a/layouts/shortcodes/figure.html +++ b/layouts/shortcodes/figure.html @@ -37,6 +37,7 @@ {{ (.Resize "1024x").RelPermalink }} 1024w, {{ (.Resize "1320x").RelPermalink }} 2x" src="{{ (.Resize "660x").RelPermalink }}" + data-zoom-src="{{ (.Resize "1320x").RelPermalink }}" alt="{{ $altText }}" /> {{- end }}