Possible Duplicate:
MySQL - storing images in a database??
I'm working on a profile system for my webpage, However I was wondering what the best way to store images are.
The first method I have read about is using BLOB in mysql. The second would be how I planned to do it in the first place, First i would get the image from a upload script, then giving the picture a id (md5) then renaming and move the picture to a folder named "md5".jpg
I was wondering what the best option is.