It’s like using shape-outside: url(…), but without needing the image to load — the idea was to inline style="shape-outside:polygon(…)" along the width and height attributes to avoid layout shift.
The steps without involving code are:
Resize image to 100×100 pixels
Run a concave-hull algorithm on the image to get the points of the polygon
Convert to CSS polygon(x1% y1%, … x𝑁% y𝑁%)
Stash that wherever you store the image’s URL so you can load them all at the same time
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It’s like using
shape-outside: url(…), but without needing the image to load — the idea was to inlinestyle="shape-outside:polygon(…)"along thewidthandheightattributes to avoid layout shift.The steps without involving code are:
polygon(x1% y1%, … x𝑁% y𝑁%)