diff --git a/static/js/zoom.min.js b/assets/lib/zoom/zoom.min.js
similarity index 100%
rename from static/js/zoom.min.js
rename to assets/lib/zoom/zoom.min.js
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index f59e9dc8..4540753b 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -74,7 +74,8 @@
}}">
{{ end }}
{{ if not .Site.Params.disableImageZoom | default true }}
-
+ {{ $zoomJS := resources.Get "lib/zoom/zoom.min.js" | resources.Fingerprint "sha512" }}
+
{{ end }}
{{/* Icons */}}
{{ if templates.Exists "partials/favicons.html" }}