This is fine for the hackathon, but in the future, it might be cool to use a handler for this that just serves up the image data as binary. That would a) cut down on bandwidth, and b) allow you to make the image auto-refresh.