Upload and Resize Image in PHP

Upload an image to resize. For demo purpose we will create 200x200, 150x150 and 100x100 size images.