splitbrain / dokuwiki-plugin-gallery

Creates a gallery of images from a namespace or RSS/ATOM feed in DokuWiki
http://www.dokuwiki.org/plugin:gallery
GNU General Public License v2.0
21 stars 25 forks source link

Option for vertical alignment of gallery thumbnails #189

Open Zichqec opened 1 year ago

Zichqec commented 1 year ago

I really, really appreciate that the gallery boxes are all neat and tidy and match each other in height. However, on my wiki, there are several galleries where the images are of different heights, due to the nature of what we're cataloguing. And these look absolutely terrible when they are all positioned at the top of the boxes. See the gallery on this page for an example.

image

I would really appreciate the option to choose between aligning them to the top, center, or bottom. I would prefer to set all galleries across the wiki to be bottom aligned by default, because that's what makes sense for us. I would even take center alignment if I had to.

splitbrain commented 1 year ago

TBH that gallery looks totally fine to me. I like the top alignment especially when it is combined with one of the showname or showtitle options.

Zichqec commented 1 year ago

It bothers me because, as with very many things on our wiki, the difference in the size of the images is most often caused by having the larger size balloon in a screenshot (usually when getting images of the main menu and such). This causes the character's feet to be misaligned between images, and does not represent how it would actually look in real use, where the menu opens upward.

I can definitely see how for other types of content the top alignment would look fine, but I think for some purposes bottom alignment would look much better. Hence, my desire for an option, so I can pick what's best for my wiki.