Can someone explain me how to store images on a server and then inserting the url’s in the database.
All I find on the internet are discussions of which one is better – storing the url or the image itself as a BLOB. I have made it to store them as BLOB, but I don’t think it is a good idea and want to store them on the server and just link them in the database.
I am using asp.net web application and have a mssql database. The language is c#.
You can have a look at this article explaining Storing Uploaded Files in a Database or in the File System with ASP.NET 2.0 along with advantages and disadvantages of each technique.
Also found a useful link that might help you in this regard: Storing Images in DB – Yea or Nay?