zjedi / hugo-scroll

Clean, responsive, single-page Hugo website theme.
https://themes.gohugo.io/hugo-scroll/
MIT License
257 stars 187 forks source link

Gallery #70

Open krutburken opened 1 year ago

krutburken commented 1 year ago

Hello! I'm trying to use the hugo-shortcode-gallery together with this theme, but I seem to be running into the same issue as https://github.com/mfg92/hugo-shortcode-gallery/issues/19 which seems to point to a theme incompatibility.

The error I'm getting is gallery.justifiedgallery is not a function

Sadly I'm quite new to the whole hugo-thing so I'm not exactly sure what the fix would be in this case. Any pointers?

zjedi commented 7 months ago

I think we should go with https://photoswipe.com = https://github.com/dimsemenov/photoswipe since they have enough features and compatible license

jonas37 commented 2 months ago

What about https://hugocodex.org/add-ons/slider-carousel/

I used the lightbox https://hugocodex.org/add-ons/lightbox/ When you add hyperlinks to the source file of an image this works out of the box But now i run into the issue that each image is displayed with full page/content width. and I cant make it display smaller images side by side.

zjedi commented 2 months ago

@jonas37 Thanks for suggestion, looks ok, but it is a little different use case. A separate feature I would say. We can have both Gallery option and carousel option.

I can see they also have https://hugocodex.org/add-ons/image-gallery/ , but it seems pretty basic (not even left/right keys working)