Two #Smithereen updates.
- If a post contains more than one picture, those will be laid out in this kind of tile layout. It works better when image dimensions are specified, which unfortunately no other #ActivityPub software is doing as of now afaik.
- There's now this half-assed photo viewer in a layer. Will do for now, but I'll have to make a proper one anyway when there will be photo albums and tags and comments and all that stuff where photos aren't just image files.
A bit of trivia: in VK, this layout algorithm was internally called "Zhukov layout", after the developer who first came up with it. Except there it used some hacky floating divs, but here I implemented it with CSS grid and the result is stretchable.