The code doesn't have to view each image. As far as I know, the main reason for using separate subfolders would be for human organizational purposes, if you have so many images that you can't keep them straight in one folder.
The code doesn't have to view each image. As far as I know, the main reason for using separate subfolders would be for human organizational purposes, if you have so many images that you can't keep them straight in one folder.
Be careful, though. Many hosting services limit folders to 2000 files.
2000 image files would be beyond what I would consider reasonable to organize in one folder, anyway... :)
Although the Folder limit of 2,000 is just a Linux default and easily changed by the Hoster, it is also true that the number of files within a Folder should be easily managed by a Human. There is also the maintenance issue, having images separated by some sort of scheme that makes sense to the site Owner is just a good idea.![]()
Well, one of the reasons I chimed in here is because I am facing that exact problem- I took on a web site that was originally in ColdFusion, and when I got the database and images, there were over 8,000 images in one folder.
Needless to say, I'll be needing a very large bottle of aspirin sorting things out.
Hoo boy! Good luck!