refactor
add compress image
refactor