Closed vladosam closed 1 year ago
Does the generated HTML contain references to your images?
No. There is not any reference in html to images. I tried to create new site with minimal configuration. Just theme and shortcode-gallery. Created new page in content/about.md created new folder in content/images/. I put some images in folder and add this shortcode to about.md
{{< gallery match="images/*" sortOrder="desc" rowHeight="150" margins="5" thumbnailResizeOptions="600x600 q90 Lanczos" showExif=true previewType="blur" embedPreview=true loadJQuery=true >}}
And nothing changed. Empty page.
You must organize your markdown file and the image files as page bundles. E.g.:
content/
about/
index.md
images/
image1.jpg
image2.jpg
Wooohooo, yes it works :thumbsup:. Thanks for help.
Hi, I'm trying to use gallery in my site but it won't show up. Theme is hugo-coder. Site is multilingual. This is md file, pictures.sr.md
Directory layout
I can see in developer tools that jquery is loaded
Is there anything i can try to make it work. Thanks