|
If you have a lot of images, option #2 for sure, ideally even splitting it up so that for image123.jpg it's images/1/2/123.jpg or something similar.
If you have too many images (say, 1000 as a nice round number) per directory, you're going to start incurring performance hits.
|