trying to resize image