Hi!
I'm creating website that handles "great amount" of images. I have decided to use multiple directories method for storing files eg. images/efg/ed/ehj/efgedehjokjvdf2jn4.jpg
I'm thinking that to prevent filename duplication is to take current timedate + some random string + md5 those = nice line of random string. Mostly I'm wondering method how to create those paths? What would be the best way to manage those? We are talking about 10,000 - 30,000 images for starter..
So if someone have nice tips or maybe share some code, that would be awesome! :) Oh yea, I'm using CodeIgniter for this project if that helps?