I am developin a theme in php using wordpress.I want to display images on the website . so my question is what will be the best practise
1)store the image itself in a table using an "image" or "binary data" data type of the database server.
2)store the images as a file in the file system and create a record in a table with the exact path to that image. ..trying to bother the database as little as possible... .