I have been reading stack overflow for a solution but can’t find it.

(full size image at https://i.stack.imgur.com/n0hd0.png)
When I load the page it looks like that
Here is the site (beta)
http://e-gimnazija.hostoi.com/test/site/index.html
If you press all it unfolds, maybe I can solve it if it auto unfolds at the start
The problem is that when you run
.isotopethe images are not yet loaded, so the plugin cannot calculate their size..You have some different options to choose from
$(window).load(function(){/*init plugin here*/})reLayoutonce the images are loaded$(window).load(function(){$('#thumbs').isotope('reLayout');});lielements are fixed size, then give them dimensions through CSS, andisotopewill pick them up..