I'm building a website which holds its images in relevant folder, but I was wondering how to structure the folder paths ( month/year/
or just year/
)
I will be getting the images via php, so the scripting will look like:
files/cover_photo/$year/$month/$id.jpg
I don't really know how many images I'm going to be posting but was wondering how many images is a comfortable number in each folder if they are going to be selected using the PHP
script above.
I don't want to risk slowing my site down by having too many images per directory, but at the same time I don't want to have too many directories with few files inside.
Can anyone give me any advice?