How do images actually work? #470
-
I've got the following file structure:
Inside
When I try to run
Even trying to load |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 9 replies
-
Place your images in a page bundle, like so: ..
├── blog/
│ ├── say-hello-to-doks/
│ │ ├── index.md
│ │ └── say-hello-to-doks.png
│ └── _index.md
└── _index.md See also the Hugo docs: Page Bundles Note: The images functionality also works now (093ab04) when using markdown for images — making it portable. |
Beta Was this translation helpful? Give feedback.
-
So can markdown syntax be used to refer to images in the root/images folder? or do images always need to be supplied in a bundle (in the same folder as the markdown file)? |
Beta Was this translation helpful? Give feedback.
-
Excellent, thank you.
…On Mon, Oct 11, 2021, 1:15 AM Henk Verlinde ***@***.***> wrote:
So can markdown syntax be used to refer to images in the root/images
folder? or do images always need to be supplied in a bundle (in the same
folder as the markdown file)?
Currently, images need to be part of a page bundle. I've put extending
processing from other locations on the list for the next release: #502
<#502>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#470 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABOQ6UBYJPUABST26REVZKDUGJ6JPANCNFSM5ESZJCHA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
@johnnymatthews so what does your final folder/file structure look like and would you mind sharing the md file syntax for the image? I have been struggling with this for a day now and still can't make it work. |
Beta Was this translation helpful? Give feedback.
-
Hi, I am using page bundle.
At |
Beta Was this translation helpful? Give feedback.
Place your images in a page bundle, like so:
See also the Hugo docs: Page Bundles
Note: The images functionality also works now (093ab04) when using markdown for images — making it portable.