T
TotallySport
- Original Poster
- #1
Hi
I was always told that storing images in databases was a bad thing as it will reduce the quality of the image, however we are currently building an application which needs to maintain the images in one location and use them in different web sites.
There are two ways of doing it from what I understand.
Storing it in the wwwroot(is using asp.net on IIS), and then mapping to the file, and dynamically creating a location that suits the web site, and stroing on the linking up information in a database, the download side to this is if the application grows and we need to build up the servers is it will cause issues in the programming to get it work cross servers (sorry I don't know the correct terminology), the up side is the processing time on the database will be less, no sure about actual load times.
Or storing the images in the database, these images are only web quality so hi res isn't an issue but the site is very picture heavy, this doesn't have the cross server issues as above, but I have never done it and I am worried about strains on the database in processing, database sizes, and other issues which I might not have thought of.
Anyway, if anyone can shed any light on this, in terms of whats best, standard practise, things I may have to consider which are not mentioned, and information would be appriciated.:redface:
This isn't a php asp.net debate, you can do either in both and welcome comments from anyone, the issue is above.
I was always told that storing images in databases was a bad thing as it will reduce the quality of the image, however we are currently building an application which needs to maintain the images in one location and use them in different web sites.
There are two ways of doing it from what I understand.
Storing it in the wwwroot(is using asp.net on IIS), and then mapping to the file, and dynamically creating a location that suits the web site, and stroing on the linking up information in a database, the download side to this is if the application grows and we need to build up the servers is it will cause issues in the programming to get it work cross servers (sorry I don't know the correct terminology), the up side is the processing time on the database will be less, no sure about actual load times.
Or storing the images in the database, these images are only web quality so hi res isn't an issue but the site is very picture heavy, this doesn't have the cross server issues as above, but I have never done it and I am worried about strains on the database in processing, database sizes, and other issues which I might not have thought of.
Anyway, if anyone can shed any light on this, in terms of whats best, standard practise, things I may have to consider which are not mentioned, and information would be appriciated.:redface:
This isn't a php asp.net debate, you can do either in both and welcome comments from anyone, the issue is above.