another experiment borrow from Image processing
<figure class="image-caption">
<img data-sizes="auto" class="lazyload"
{{ $imageResource := .Page.Resources.GetMatch (printf "*/uploads/%s*" (.Get "src")) }}
{{ $mobile := $imageResource.Fill "458x254 Center" }} <!-- i assume this part is the source of the error -->
data-srcset="{{ .Get "src" }}" />
<figcaption>{{ if isset .Params "title" }}
<h5>{{ .Get "title" }}</h5>{{ end }}
</figcaption>
</figure>
output error
"E:\YUDY\WEB PROJECT\TIAVI\sites\newdev\content\culinary\recipe\ini-loh-cara-membuat-takoyaki-yang-lezat-dan-praktis\index.md:64:1": failed to render shortcode "image": "E:\YUDY\WEB PROJECT\TIAVI\sites\newdev\themes\gogirl\layouts\shortcodes\image.html:5:36": execute of template failed: template: shortcodes/image.html:5:36: executing "shortcodes/image.html" at <$imageResource.Fill>: can't evaluate field Fill in type resource.Resource