How-To : Create an image gallery in topics

How do I use this?

This component adds a button to the composer.

So all you have to do is:

1- Upload a bunch of images using the default Discourse upload button then highlight the code:

Upload pictures

2- Click the gallery button.

You will get a static preview of the selected images in the preview pane, don’t worry. It takes a few minutes for the server to generate the proper gallery: