Storing a large number of images

后端 未结 12 766
没有蜡笔的小新
没有蜡笔的小新 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:51

    Use the hierarchy of the file system. ID your images using something like 001/002/003/004.jpg would be very helpful. Partitioning is a different story, though. Could be random, content based, creation date based, etc. Really depends on what your application is.

提交回复
热议问题