Cannot get images to work with page bundles. #281
-
I have not been able to get images working with "usePageBundles = true" for pages or posts. For example I have: content/ And in index.md I have: +++ I start up the Hugo server and all I see is a blank box with a ?mark in it and the Alt text. If I set "usePageBundles" to false, then I see the debug message about image not found. With usePageBundles set to true, I looked at the generated html code, and it's trying to load the image from the root directory: instead of the post directory: public/posts/2022/pair-networks-vps Am I doing something wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @georgew509, apologies -- this is a current bug. We should have a fix released soon. #271 may address it if you feel comfortable patching a theme file yourself, although I haven't had a chance to fully test it yet. |
Beta Was this translation helpful? Give feedback.
Hi @georgew509, apologies -- this is a current bug. We should have a fix released soon. #271 may address it if you feel comfortable patching a theme file yourself, although I haven't had a chance to fully test it yet.