first version,modified from phpflickr
Merge github.com:cidy0106/cdflickr