It’s useful to be able to search for public-domain photographs of organisms, but the Encyclopedia of Life doesn’t provide the ability to filter by license type. There’s some jacky code here to do that.
Also, for the OneZoom project, I’ve been writing some perl code to grab appropriate images from WikiSpecies, Wikimedia Commons and the Encyclopedia of Life. It’s been pretty geeky. I have programs to get images and construct credit lines from huge xml database dumps of Wikispecies and Wikimedia Commons. There is also a script to grab images using the Encyclopedia of Life APIs.