The content jumps around because initially <img>
elements have 0 height, the image loads and height increases, making content other "jump". The images are loaded when they are entering the viewport.
There are 2 options to solve that:
<img>
elements to be the same as the height of the image itself. The problem here would be retrieve that height.