finish and test download and upload image api

finish and test download and upload image api