Lesson Code:- https://webtechball.wordpress.com/201...
GD library is a graphics software library which helps in manipulating images. It can create GIFs, JPEGs, PNGs, and WBMPs. Through this simple example you can easily upload your image file with the extensions of gif, png, jpg and jpeg and after uploading it will automatically resized.