add resume function
fix http error
add compress function
add resize output image function