CodeIgniter Forums
Images on codeigniter project what is the best practice ? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Images on codeigniter project what is the best practice ? (/showthread.php?tid=60551)



Images on codeigniter project what is the best practice ? - El Forum - 04-20-2014

[eluser]ede196620[/eluser]
Hi all users
I have simple question to ask. Currently I am building a online shop. My question is related to the user uploaded images of their items what is the best way to store these images. I did some research and found out that using database to store the images is bad practice what can you recommend to use instead of uploading images to the database. Is there a library or a helper to help process the user images ?

Thanks for your answers


Images on codeigniter project what is the best practice ? - El Forum - 04-21-2014

[eluser]InsiteFX[/eluser]
You store then in a upload or image folder and just save the image file name to the database.