add compress image
fix image compressiong