save new flickr-pics to cache and to db