The most commonly accepted way is to store the actual image on the disk and then store the path to the image in the database.
Simply because that way the web server (apache, lighttpd, etc) can serve the image as a static file, instead of php having to pipe through a blob from a database, which is much more expensive in terms of resources (which is what you’d have to do if you stored the image in a database).