-1

我在存储图像的表格中遇到了问题,这些图像存储在 base64 中,但是在表格中增长非常慢。

建议将图像存储在文件夹中吗?或以base64存储图像的字段必须具有特殊功能?

我可以推荐吗?

4

1 回答 1

-1

Never use your database to carry images because as much as images quantity increases slower the database.
You can achieve this by uploading the image in a separate folder and storing only the name of the image in database

AT FRONT END

You can get them by giving the path images/$imageVariable

于 2013-09-02T15:37:37.057 回答