From 3dae60ac7a3c80a85cad8ddadb924039e175048f Mon Sep 17 00:00:00 2001 From: Jimmy Date: Thu, 5 Mar 2026 09:23:47 +0100 Subject: [PATCH] fix: use IsImageResourceWithMeta to check whether image has width / height attributes (#1285) --- layouts/_partials/helper/image.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_partials/helper/image.html b/layouts/_partials/helper/image.html index fce9d04..c2646b0 100644 --- a/layouts/_partials/helper/image.html +++ b/layouts/_partials/helper/image.html @@ -33,7 +33,7 @@ {{ end }} {{ with $resource }} - {{ if reflect.IsImageResourceProcessable . }} + {{ if reflect.IsImageResourceWithMeta . }} {{ $result = dict "Resource" $resource "Permalink" $permalink