change upload resize strategy