To cluster images in social posts / comments #237
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Let's assume there's a post with the following:
This is a text
img1.png
img2.png img 3.png
img4.png
This is another text
img5.png img6.png
img7.png
This is yet another text
img8.png
The post will render as is, however, for a better viewing experience, instead of rendering each image as
and so on, let's do it like this / where the result/render for the above would be:
This is a text
This is another text
This is yet another text
With this, I'd be able to cluster groups of images if they're more than one, and control how they're presented (in a nice condensed way).
If there's one image, then no styling (just the class), if there's two then class + style of 1fr 1fr, and if there are three images or more then class + styling of 1fr 1fr 1fr.
I've attached an end result example (and i've also add the css)