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

Help - Thumbnails show multiple times on top of each other? #83

Open han16nah opened 1 year ago

han16nah commented 1 year ago

I installed the project by copying the files. I created a new post where I tested the gallery.

{{< load-photoswipe >}}

{{< gallery >}}
  {{< figure src="img/logo.png" >}}
  {{< figure src="newsletter/holzbau_3.jpg" >}}
{{< /gallery >}}

However, wide images render in a weird way, like a zoomed-in version is overlayed below the actual image. How can I change this behaviour? Can someone help me? It works well for portrait pictures but not for landscape. grafik

jsacerot commented 1 year ago

@han16nah did you were able to fix it? I am facing the same issue with squared images (600 px x 600 px). Any help is welcome. Thanks!

han16nah commented 1 year ago

@jsacerot Unfortunately not, I would also be grateful for any help.

jsacerot commented 1 year ago

@han16nah This may be helpful:

Cheers!