resize photos uploading to qiniu