Really simple class get get the latest photo posts from specified tumblr
An Example
Gets 12 photos from picturedept.tumblr.com
<?php
$photos = new Tumblr_Latest_Photos( 'picturedept' );
$latest_photos = $photos->generate('12');
http://demo.jworksuk.com/github/tumblrlatestphotos/examples/basic-masonry.php
Use curl
instead of file_get_contents
as some servers don't allow file_get_contents