Take the New Carousel Mode for a Spin

Do your pictures get lost within the gridded photo patchwork? Are they awkwardly cutting off crucial bits? Would you like them to be center stage? Despair no more – the feature you didn’t know you wanted has landed!

As the more observational amongst you may have already noticed, we have added a new gallery mode. You can now choose between the classic (masonry) grid and the new, focussed carousel mode. Switching is as simple as selecting the option in the top-right corner of the gallery in the RTE[1] :

Or change the mode name directly in markdown mode:

The toggle to remove the gallery altogether has been moved to below:


Some notes

  • We’re aware the keyboard navigation can be finicky; we’ll improve it in a future update
  • On mobile, swiping gestures are supported – so technically Discourse could become the next dating app[2], truly cementing our “anything goes” flexibility.

  1. Rich Text Editor ↩︎

  2. I’m joking – please don’t actually try this ↩︎

29 Likes

Wow! That’s pretty cool. Seems like Discourse Post Image Carousel is mostly unnecessary now :laughing:.

Out of curiosity, is the carousel made from scratch or built using an existing service, e.g. Splide/Swiper?

4 Likes

It is built from scratch from the ground up, which is extra nice cause it is a glimmer component

3 Likes

Yup, the surest sign of success here is having your TC replaced by something official!!

3 Likes