New [grid] forums formatting

Discourse has added grid layout functionality available to all users. Users can add the [grid] and ‘[/grid]’ tags around images or uploads manually, or they can use an icon next to the first image in a block of images in the composer preview to toggle the grid on/off.

Images in the grid will align at both the top and the bottom of the element. A few additional technical notes:

  • on mobile, the grid defaults to 2 columns, on desktop to 3
  • if there are exactly 4 items in the grid, the images will be arranged into 2 columns
  • non-image elements can also be used (like videos), but the results won’t align perfectly
  • the items in the grid are arranged to ensure the column heights are as close to each other as possible, therefore, the order of the images isn’t always maintained

An example of six mixed size images:

2x2 16:9 uniform images:

6 Likes

thats nice

1 Like

Oh boy… I wonder what’ll happen when I post some 48:9 images to the grid?

:sweat_smile:

Turn this off!!!

No one asked for it no one wants it!

It’s off unless you turn it on by typing the formatting in your post.

It is not, it auto enters upon me posting photos to my post. I have to then go in and delete manually the top and bottom to take off the grid.

1 Like

This happened automatically. I didn’t do anything to make it appear, it’s auto set to do this every time.

1 Like