test resize image bug