liwenyip / hugo-easy-gallery

Automagical css image gallery in Hugo using shortcodes, with optional lightbox/carousel gadget using PhotoSwipe and jQuery.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fails to generate library when filenames use uppercase font

WarhawkCZ opened this issue · comments

I've just found out that the gallery does not work when images use filenames with uppercase font, e.g. P2050131.JPG . The result has just white space instead of pictures. Hugo generates the gallery correctly when I rename the file to p2050131.jpg

That's odd

Does this occur when using the gallery shortcode, the figure shortcode, or both?

Does this affect only thumbnail images, or only full size images, or both?

Can you please post your source html code and output html so we can see what's going on?

Thanks

I am new to Hugo and new to your library so pardon my ignorance if I completely missed something.

Does this occur when using the gallery shortcode, the figure shortcode, or both?

My code is as follows:
{{< gallery dir="/img/frankenpad_x225" />}} {{< load-photoswipe >}}

Does this affect only thumbnail images, or only full size images, or both?

I don't use thumbnails yet. My configuration uses only full-size images at the moment.

Can you please post your source html code and output html so we can see what's going on?

I expect that you mean the markdown file and the generated HTML. It is attached below. However, I don't see anything wrong there. I have not uploaded the generated content to the server yet. The problem I describe may be localhost-only.
frankenpad_x225.zip

Notes: Vivaldi Browser, MX Linux 17.1, hugo running on localhost, hugo-cactus-theme.

I suggest you checking the behavior on localhost using hugo server -D command.
Meanwhile, I'll check what happens when I upload the generated content to the hosting.