My website, , has a masonry style layout where images are preloaded with infinite scroll. However, I noticed that the layout twitches when new images are loaded due to the lack of sizing on the images. To address this issue, I added width and height to the images which stopped the twitching. You can view a video comparison without/with sizes here:
style="width: <?php echo $size[0];?>px; height: <?php echo $size[1];?>px;"
However, adding fixed widths and heights to the images caused them to lose their fluidity, ruining the responsiveness of the layout. I am now seeking a simple solution to fix this issue. Can anyone help?