且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

哪种方法正确-显示图像

更新时间:2023-01-01 13:24:47

有两种方法的原因在于它取决于.在大多数情况下,从数据库中进行显示是更多的工作,我倾向于将图像保留在文件系统中,并在数据库中放置路径.
The reason there''s two methods is that it depends. Showing from a DB is more work, I would tend towards leaving the images in the file system and putting paths in the DB, in most cases.