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

Gallery doesn't fully load; thumbnails with wrong orientation

amca01 opened this issue · comments

I'm using Hugo with the Blackburn theme, and I find two problems, when I load the gallery with

{{< gallery dir="/ImageDirectory" >}} {{< load-photoswipe >}}

The ImageDirectory is inside my Hugo static directory. However, only the first 30 or so of the images are loaded as thumbnails, and some of the thumbnails are incorrectly oriented. However the pictures are correctly oriented when shown at full size. Also, the thumbnails are all rectangular rather than square. (Also photoswipe does not load.)

The entire page is full of "blank" thumbnails, which when clicked on return a 404 error. I've increased my timeout to 60000 but it makes no difference.

Is there anything obvious I'm doing wrong? Thanks!

commented

Similar issue.
Folder loads, but the thumbs are landscape oriented. Images in directory are portrait oriented.

Same orientation issue when just loading a single image via {{< figure src="/img/myphoto.jpg" >}}