tristanguigue / angular-dynamic-layout

A lightweight AngularJS dynamic grid layout
http://tristanguigue.github.io/angular-dynamic-layout/
78 stars 35 forks source link

Layout after loading images should happen as soon as we get the height #4

Open tristanguigue opened 9 years ago

tristanguigue commented 9 years ago

Right now it happens on the load event, however the height of the image is available before that. One solution is presented here: http://stackoverflow.com/questions/6575159/get-image-dimensions-with-javascript-before-image-has-fully-loaded