Pinterest-like interface for Encyclopedia of Life

Posted by Danny Su on July 2, 2012 with labels: Mad Coding, endless scroll, eol, infinite scroll, JQuery, knockout.js, pinterest, responsive design, twitter bootstrap

UPDATE 2: Source code on github.

UPDATE: Also see how I optimized the memory usage of this.

I found an awesome site couple weeks ago that allows people to check out living things on Earth and collect ones they like: Encyclopedia of Life. It even has “collections” feature where you can put anything you find on the site into your own collection. You can also copy things you find in other people’s collection. Very, very cool!

Browsing around the website, I found that EOL has paginated interface for viewing their 1.5 million (and growing) images. I’m disappointed by the lack of better interface for me to consume the vast number of images. Pagination was so 6 or 7 years ago. Therefore, I went ahead and built a better one.

Checkout my Pinterest-like infinite-scrolling interface for browsing EOL images at http://eol.dannysu.com.

(All photos in the screenshots are from EOL. In particular, the awesome looking bird in the last screenshot is from Almir Cândido de Almeida whose photo is on EOL.)

Built using knockout.js, Twitter Bootstrap, jQuery, HTML5 local storage, and some PHP Ruby & Sinatra on server side. There’s infinite scroll as well as responsive design that dynamically re-layout the cells based on browser width. Note that the collect feature doesn’t integrate with EOL website at the moment. I had implemented it initially, but the feature is broken on EOL website right now so I went ahead and switched to storing favourites on my own DB.

I love it! It’s awesome to be able to create. Well, now that I’m done creating, I’m back browsing awesome looking animals!