Closed f-rower closed 8 months ago
I made the ADViCE page public and still throws a 404 error
just writing 000.jpg in root _index.md file worked. I will now try to replicate that one level further down
renaming the file to _index.md and putting all the image files in the same repository as the file itself works
SOLUTION: Always create a new folder for a file Name the file _index.md Images and other media: you can create a subfolder (e.g. named "media"), where you put all your images. You can reference each image in the file as media/photoname.jpg
SOLUTION (see thread below): Always create a new folder for a file Name the file _index.md Images and other media: you can create a subfolder (e.g. named "media"), where you put all your images. You can reference each image in the file as media/photoname.jpg
Possible sources of the issue: Hugo.toml file settings
Line 608:
./media/image7.png
Leads to: https://alan-turing-institute.github.io/ADViCE/reports/advice-challenges-report/advice_challenges_report/media/image7.png
[x] ADViCE page not public so Hugo can't access image files?