Image Resources

Is there a version of something like the following that would let me access an image as a resource? I am not quite sure where the uploads folder lives.

{{- $image := resources.Get "uploads/2021/e6e23292c2.jpg" -}}

No, because of how Micro.blog processes your site, the images aren’t always available when the site is built (they are usually already published to your site before Hugo runs). What are you trying to do by getting a reference to the image? Maybe we can solve that a different way with extra metadata.

I was thinking of playing around with image processing. Really just something to stay busy.