diff --git a/layouts/shortcodes/imgproc.html b/layouts/shortcodes/imgproc.html index f0ab4c8ea..1c42d4756 100644 --- a/layouts/shortcodes/imgproc.html +++ b/layouts/shortcodes/imgproc.html @@ -1,4 +1,4 @@ -{{ $original := .Page.Resources.GetByPrefix (.Get 0) }} +{{ $original := .Page.Resources.GetMatch (printf "%s*" (.Get 0)) }} {{ $command := .Get 1 }} {{ $options := .Get 2 }} {{ if eq $command "Fit"}}