Totally new to Hugo and first of all big thanks to all authors.
I’m trying to create a small self-hosted site with something like 10 pages/100 images in total. I’ve managed to find here render-image.html by @jmooring the great and use it for handling images passed from markdown files, which did the job for me and finally found those images in /assets. But how to show them from a partial, used by that markdown? Even if I try some very basic approach like this:
the image is not showing up (while page inspection shows rather correct path <img src="/images/CorrectName.jpg" class="img-responsive" alt="">). What am I missing?
Is it possible to call another partial from this partial to do image resizing and conversion?
Thank you for solution. I left handling with defense to later stage, as with such a small number of pages I always could ensure that every page has this parameter. And where could I read about actions and passing variables/context/data to them? Why hardcoded width and height?