Google+ style tiled photo gallery

倾然丶 夕夏残阳落幕 提交于 2019-12-03 12:53:44

问题


Has anyone seen a javascript library that will generate a photo gallery similar to the way Google+, and now Facebook, organizes photos where some are cropped, but the all seamlessly fill a space.

Something like this:


回答1:


I was doing some digging around and found this. It's a bit different, but it still looks nice. The only thing missing is the photo popping out.

http://masonry.desandro.com/




回答2:


I was looking for something similar and I've seen a couple now, this builds on jQuery: http://moewashere.com/jglance and this is really helpful guide: http://www.techbits.de/2011/10/25/building-a-google-plus-inspired-image-gallery/




回答3:


I've created a wordpress plugin that mimics the Google+ Gallery. The files in the js folder will be handy if you want to write a pure jquery version of this. Might do this myself later.

Demo Plugin



来源:https://stackoverflow.com/questions/8950842/google-style-tiled-photo-gallery

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!