Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy. This forum is not for asking programming related questions.
I plan to make a huge website that will store several thousands of pictures or more. I'm wondering which direction I should go in. When it comes to storing pictures in a database or in a file directory. Thanks.
Store the filename, picture name, etc, in the database. Store the physical file in a folder on the server. At least that's the way I've always done it.
Use the filesystem - the number of times an image needs to be buffered and streamed between Apache/PHP/MySQL is just too expensive. Use the database only to keep a record of images and their locations so the collection is manageable. Otherwise just leave them to Apache alone to retrieve.