Patched version of Flickr Gallery by Dan Coulter