xianmin / hugo-theme-jane

A readable & concise theme for Hugo, color schemes to choose, easy to personalize. Working well since 2018.
https://xianmin.github.io/hugo-theme-jane/
MIT License
927 stars 287 forks source link

add gallery page support #30

Open xianmin opened 6 years ago

xianmin commented 6 years ago

For now, this is just an idea.

Some useful links:

Zebradil commented 6 years ago

I've played a bit with hugo-easy-gallery and it works almost well. We need to remove fancybox if we want to use the gallery.

@xianmin what do you think about it?

xianmin commented 6 years ago

@Zebradil The proposal of this issue is not use hugo-easy-gallery . What I want is, create an optional page, the gallery page that show their photos. One photo album is one folder. Gallery page automatically display these albums in some way.

Sorry for my limited English. I may not be very clear. I will try to do a demo first. By the way, I think fancybox is great. We don't need to remove it. :smile:

Zebradil commented 6 years ago

Don't worry about English. Mine also isn't good.

I got the thing about gallery as a page. But don't you need to put several pictures at once in the same place in blog post? How can you do something like this:

screen shot 2018-04-29 at 13 40 56

hugo-easy-gallery supports photoswipe library which looks exactly the same as fancybox. You can check demo here.

xianmin commented 6 years ago

Yes, you are right, the demo looks great. Just do it! Maybe we could replace fancybox with PhotoSwipe.

Zebradil commented 6 years ago

I've just found a script which could be useful for creating standalone galleries.

alexbruy commented 4 years ago

Looks like this is already implemented and can be closed