What should be best way to save images if we are working with a database. Save them to database or save to file system.
Images and database
Collapse
X
-
I'm not really in favour of storing the image data in a database. For reasons of efficiency and ease of update I guess. At work our graphic designers like to be able to easily retrieve and save images to a directory.
This could also be a hang-over from the fact that I develop a lot in Mysql where storing such things gives nasty surprises when it comes to file size (and stability)
May be you can get some more usefull information from here http://www.zend.com/zend/trick/tricks-sept-2001.php -
At present I am working on a tour a travel co. website. They have a lot of tour packages and they want on each tour packages some pictures of related tour. And they also want that they can update tour package with pictures on easy way. So its necessary to give them filefield also for uploading images. So what should I do for these images.Comment
Comment