Storing a large number of images

后端 未结 12 801
没有蜡笔的小新
没有蜡笔的小新 2020-12-07 09:25

I\'m thinking about developing my own PHP based gallery for storing lots of pictures, maybe in the tens of thousands.

At the database I\'ll point to the url of the i

12条回答
  •  时光说笑
    2020-12-07 09:32

    You can store the images in the database as blobs (varbinary for mssql). That way you don't have to worry about the storage or directory structure. The only downside is that you can't easily browse the files, but that would be hard in a balanced directory tree anyway.

提交回复
热议问题