mfg92 / hugo-shortcode-gallery

A theme component with a gallery shortcode for the static site generator hugo.
MIT License
341 stars 65 forks source link

Gallery seems to generate but doesn't display anything #54

Closed no-budy closed 1 year ago

no-budy commented 1 year ago

I installed the theme and put the images that I was testing in an images folder but it doesn't seem to be able to find them. image I keep getting this error from this. image Here is how I'm calling the shortcode and what the file structure looks like. image image The shortcode is in the melee.md file and the images are located in that images file

no-budy commented 1 year ago

image Here is an image of the HTML that is rendered

mfg92 commented 1 year ago

You need to organize your markdown file and the images in a page bundle . The file structure in your case should look like this:

melee
   |- images
   |   |-image01.jpg
   |   |-anotherImage.png
   |- index.md
startingWithHugo.md
mfg92 commented 1 year ago

Feel free to reopen this issue if it still does not work as expected.