Unable to downsize image deploy