Update class.resize.php