简体   繁体   中英

Google+ style tiled photo gallery

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:

在此处输入图片说明

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/

我一直在寻找类似的东西,现在已经看到了一些,它基于jQuery: http : //moewashere.com/jglance ,这对指导很有帮助: http : //www.techbits.de/2011/10/ 25 /建立一个Google+灵感图片库/

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM