Cleans up image.php.