complete resize.php