diff --git a/layouts/partials/images/image.html b/layouts/partials/images/image.html
index a6ba30c..01ed2d9 100644
--- a/layouts/partials/images/image.html
+++ b/layouts/partials/images/image.html
@@ -148,7 +148,9 @@
{{/* Modern format. */}}
{{- if and $modernFormat (ne $modernFormat $res.MediaType.SubType) (in $formats $res.MediaType.SubType) }}
{{- $modernImg := partial "images/functions/format" (dict "Img" $res "Format" $modernFormat) }}
- {{- $sources = $sources | append (dict "srcset" $modernImg.RelPermalink "type" $modernImg.MediaType) }}
+ {{/* TODO: use Permalink instead, since the processed resources will not published to other sites. */}}
+ {{/* See https://github.com/gohugoio/hugo/issues/12110. */}}
+ {{- $sources = $sources | append (dict "srcset" $modernImg.Permalink "type" $modernImg.MediaType) }}
{{- end }}
{{/* Reset image properties. */}}
{{/* TODO: use Permalink instead, since the fingerprint resources will not published to other sites. */}}