In today’s tutorial we write a series of PHP scripts that allow a page to take a user-uploaded image, resize it - and generate a thumbnail of the image that is uploaded.  We’ll then take that thumbnail data and save it in a database.  When we look at how we can save our images in a database, we’ll have to look at how we can first change the binary data so that it is safe to store in the database, as well as taking a look at how PHP can ‘buffer’ its output. This tutorial utilises the free GD library.

Read more>>