liwenyip / hugo-easy-gallery

Automagical css image gallery in Hugo using shortcodes, with optional lightbox/carousel gadget using PhotoSwipe and jQuery.
MIT License
573 stars 111 forks source link

Gallery doesn't fully load; thumbnails with wrong orientation #39

Open amca01 opened 5 years ago

amca01 commented 5 years ago

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!

igiqr commented 5 years ago

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

ex-nerd commented 5 years ago

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