Updated resize.php