Floating images / grid / images trying to fit any blank spaces

Hi guys,

I am currently trying to work on a personal website / architecture portfolio.
I am trying to achieve a grid like system similar to this one : Onigiri – WordPress Portfolio Theme by Elmastudio
It’s a template from WordPress. I have tried to analyse the code of the page but it seems that it’s full of javascript.

All the images are trying to fit empty spaces. The result is a grid like system but less rigid feeling.

I have tried many things in webflow but feel a bit lost.

Hope some of you will be able to help me
Thanks in advance



Here is my site Read-Only: LINK
(how to share your site Read-Only link)