Hi,
I want to store images. But I am little confused on how to go about it and what is the best way to store the image.
Do I need to store the image in the DB, I am using oracle.
The problem with this approach is the storage space in DB as I think there would be atleast 150 new images every day.
Or
Do I need to store the image path in the DB and the file in a directory good and normal approach. But the problem with this is the image file will be created by the App Server were the app server is running and my Web Server is running in the different place might not be in the same network or domain.
Or
I can store the image as a string in the DB and decode that string into image while displaying on to the web page but its slow as It involves lot of IO Operations and the DB space too.
Constraints what I have are
1.I dont want to replicate the images (should be at one place).
2.It should be fast enough when I access them from the web page.
I appreciate and look forward for the suggestions.
Thanks,
-Venu
I want to store images. But I am little confused on how to go about it and what is the best way to store the image.
Do I need to store the image in the DB, I am using oracle.
The problem with this approach is the storage space in DB as I think there would be atleast 150 new images every day.
Or
Do I need to store the image path in the DB and the file in a directory good and normal approach. But the problem with this is the image file will be created by the App Server were the app server is running and my Web Server is running in the different place might not be in the same network or domain.
Or
I can store the image as a string in the DB and decode that string into image while displaying on to the web page but its slow as It involves lot of IO Operations and the DB space too.
Constraints what I have are
1.I dont want to replicate the images (should be at one place).
2.It should be fast enough when I access them from the web page.
I appreciate and look forward for the suggestions.
Thanks,
-Venu