liwenyip / hugo-easy-gallery

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

Thumb dimensions and thumbs per line #40

Open ckildau opened 5 years ago

ckildau commented 5 years ago

I'm using easy-gallery with manually specified images and the default hugo-easy-gallery.css and 3 thumbs per line.

Can I somehow specify the thumb width per image as well as thumbs per line in a gallery? This would be very helpful for a gallery with a mix of portrait and panoramas.

mandarvaze commented 5 years ago

Currently, the thumbnails of panoramas do not display correctly. (when mixed with portrait ones)

BTW, I found this comment very helpful. I also commented background-position: 50% 50%; Now thumbnails looks OK.

sim590 commented 2 years ago

I'm using the following in my file:

{{< gallery dir="/images/tarkov-gallerie" />}}
{{< load-photoswipe >}}

and I would expect my images to take the whole width of the page before displaying on subsequent lines, but it just puts every images on a separate line. How can I fix that?

I have not modified any of the files and I have only made symbolic links to the files in the master branch of the repository.

image