I have built a small web application in PHP where users must first log in. Once they have logged in, I intend on showing a small thumbnail as part of their \"profile\".
As everybody else told you, never store images in a database. A filesystem is used to store files -> images are files -> store them in filesystem :-)