maybe use js for flickr
ruby is actually OK for flickr