diff --git a/layouts/partials/helper/image.html b/layouts/partials/helper/image.html
index 4136e67..c8371b4 100644
--- a/layouts/partials/helper/image.html
+++ b/layouts/partials/helper/image.html
@@ -4,7 +4,8 @@
{{ $result = merge $result (dict "exists" true) }}
- {{ if strings.HasPrefix $imageField "http" }}
+ {{ $url := urls.Parse $imageField }}
+ {{ if or (eq $url.Scheme "http") (eq $url.Scheme "https") }}
{{ $result = merge $result (dict "src" $imageField) }}
{{ else }}