Two 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 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.

Follow

Oh and also: Telegram uses a variation of this algorithm to lay out photos and videos when you send them grouped.

· · Web · 0 · 0 · 1
Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!