I’m trying to figure out the image processing on my hugo server (the site is not live yet), and the docs page notes:
the processing methods listed below do not work on images inside your
After some reading I realized I need to move the images to either
resources folder. I decided to create
/assets/images folder and place my images there.
The issue is, I cannot make the images show up in my posts .md pages. I used the most basic markdown code when the images were in the
/static folder, which was:
![Some description](/image01.png). This worked just fine.
I assumed the issue is with the relative/absolute path that is auto generated but I’m not sure what it is exactly. I tried all the paths I could think of:
I understand half of these are plain wrong but I was just throwing them at the wall to see if anything will stick. I also tried moving images from the
assets/images folder directly to
assets, and again trying out different file paths. No luck either.
So finally I guess the issue is not with the markdown syntax file path but rather some template file or something. I’m quite a noob when it comes to these thing so I’d appreciate any pointers into what I can try to fix this. Preferably in a way that won’t create further problem when I start working on the image processing part.
Thank you in advance.