开发者

jQuery Masonry images show up on one line

开发者 https://www.devze.com 2023-03-04 06:32 出处:网络
Hey everybody, I\'m just in the middle of developing my theme to PyroCMS and I currently have a problem that all images show up on one line. When I however disable masonry.js, it works normally.

Hey everybody, I'm just in the middle of developing my theme to PyroCMS and I currently have a problem that all images show up on one line. When I however disable masonry.js, it works normally.

Anyhow, check out the problem on my site here: http://askonomm.com/galleries/2010

Any pointers would开发者_如何学Python be appreciated.


You have to use the imageLoaded plugin to fix this or masonry is executed before images and so it can't extract the real sizes of your blocks.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号