remove check signatrue, add resize image function