adjust upload pic for compress