images php coding issues or problems here.
3 posts • Page 1 of 1
I would reccomend using the filesystem to store images. It is a much faster way to do things. If you keep the images in the database then there will be more database calls and speed will be affected. What I would do is keep them on the filesystem in a directory and just keep the path of the images in the database instead of the actual image in the database.
That's what I've done to on my website, http://www.carsfx.com. The images are stored in a folder and named by the unique name of the car and the username. I just combine the both to retrieve the picture. It also allows me to manipulate the images with imagemagic via exec();