store images into databases or path to file system files ?

hi,

I need a quick information about storing images into mysql databases.

Is more convenient to store a path to the filesystem folder in which the images are stored, or is possible to directly store the images into my tables ?

thanks

Depends on what you need to do. If you just want to store the images, put them into a BLOB column. However, as soon as you need to do something with the images besides storing and displaying, you'll need to use files, as most image manipulation programs don't work with a database or input streams.

This is a common question on various job interviews. I'd say use the FS to store them, because having them in DB has more drawbacks than positive sides.