diff --git a/northsidestudio/themes/basic/layouts/_default/_markup/render-image.html b/northsidestudio/themes/basic/layouts/_default/_markup/render-image.html
new file mode 100644
index 0000000..248fb18
--- /dev/null
+++ b/northsidestudio/themes/basic/layouts/_default/_markup/render-image.html
@@ -0,0 +1,41 @@
+{{- $src := .Destination -}}
+{{- $alt := .Text -}}
+{{- $img := .Page.Resources.GetMatch $src -}}
+{{- if not $img -}}
+ {{- $img = resources.Get $src -}}
+{{- end -}}
+{{- if $img -}}
+ {{- $widths := slice 480 768 1024 1366 1920 -}}
+ {{- $origWidth := $img.Width -}}
+ {{- $origHeight := $img.Height -}}
+ {{- $srcsetEntries := slice -}}
+ {{- range $w := $widths -}}
+ {{- if le $w $origWidth -}}
+ {{- $resized := $img.Process (printf "resize %dx webp q85" $w) -}}
+ {{- $srcsetEntries = $srcsetEntries | append (printf "%s %dw" $resized.RelPermalink $w) -}}
+ {{- end -}}
+ {{- end -}}
+ {{- $fallbackWidth := 1024 -}}
+ {{- if lt $origWidth 1024 -}}
+ {{- $fallbackWidth = $origWidth -}}
+ {{- end -}}
+ {{- $fallback := $img.Process (printf "resize %dx jpg q85" $fallbackWidth) -}}
+
+{{- else -}}
+
+{{- end -}}
+