I don't know about a tutorial, but I know that it's a relatively simple process - the only complicated part comes in adding security precautions. To get you started:
- [man]features.file-upload[/man] to upoad the file
- [man]mysql[/man] ... I don't know where you stand on MySQL experience, so give it a shot and if you can't form the query we can help
- Create a directory to store all uploaded images.
- Store this path, i.e. 'http://mysite.com/path/to/dir/$imageName' into the SQL DB
- Possibly randomize the file names? I don't know what the application here is, but you probably don't want files overwriting each other because they share the same name. You could generate a random name by passing a random number (using [man]rand/man, etc.) to [man]md5/man.
You might want a loop for that last bit... check if the randomly-generated filename already exists: if so, keep going through the loop to generate a new name; if not, take the name and use [man]move_uploaded_file/man as directed in the File Uploads section linked above and move the uploaded file to its new destination & filename.