Quote:
Originally Posted by twmprys
Yes, I've read arguments both ways about this. Nevertheless, these are only small images, and I'm trying to construct a very simple interface to enable the site owner to make limited updates to text and pictures on their site.
|
Im suprised youve read anything supporting an image actually stored in a database.... unless its a desktop environment where DB overhead isnt an issue... and even then its not the best idea.
Allways store the path and simply upload the image to the relevant directory.
if your using
php (i suspect you are) look into the GD Library... this is a series of
php functions that allow you to resize, rename and generally edit imagess on the fly as its uploaded by the user... you can even add watermarks on the fly. it's pretty simple to use if you have a basic
php understanding, and will give you exactly what your looking for.
I think the GD lib is actually included in php5 aswell .... but dont quote me on that.