diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html
index cbd84ebac..892e60b7e 100644
--- a/layouts/_default/_markup/render-image.html
+++ b/layouts/_default/_markup/render-image.html
@@ -1,85 +1,4 @@
-{{ $url := urls.Parse .Destination }}
-{{ $altText := .Text }}
-{{ $caption := .Title }}
-{{ $lazyLoad := $.Page.Site.Params.enableImageLazyLoading | default true }}
-{{ $webp := $.Page.Site.Params.enableWebp | default true }}
-{{ if findRE "^https?" $url.Scheme }}
-
-{{ else }}
- {{ $resource := "" }}
- {{ if $.Page.Resources.GetMatch ($url.String) }}
- {{ $resource = $.Page.Resources.GetMatch ($url.String) }}
- {{ else if resources.GetMatch ($url.String) }}
- {{ $resource = resources.Get ($url.String) }}
- {{ end }}
- {{ with $resource }}
-
- {{ else }}
-
- {{ end }}
-{{ end }}
+
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 340e95a13..31b57829f 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,7 +1,7 @@
{{ define "main" }}
{{- $images := .Resources.ByType "image" }}
{{- $cover := $images.GetMatch (.Params.cover | default "*cover*") }}
- {{- $feature := $images.GetMatch (.Params.feature | default "*feature*") | default $cover }}
+ {{- $feature := (.Params.feature | default "*feature*") | default $cover }}
{{ if .Params.showBreadcrumbs | default (.Site.Params.article.showBreadcrumbs | default false) }}
@@ -13,27 +13,10 @@