Possible Duplicate:
manage uploaded files in database or file system?
Hi!
I'm currently developing a website I just want to know of it is more optimal to store images in a table(MySQL) or to store the reference to an image in the table ? In the latter, the image is stored in a directory in a server instead of SQL-database
Many thanks