Even better: stop storing photo ids as numbers entirely. From Flickr's API docs: "These IDs should always be treated as opaque strings, rather than integers of any specific type."<p><a href="http://www.flickr.com/services/api/misc.overview.html" rel="nofollow">http://www.flickr.com/services/api/misc.overview.html</a>