I ma trying to get some image paths for the admin order thumbnail.
When going through the images folder there are thousands of directories,
does it have to be this way, it takes an age filtering thru them
http://prntscr.com/cputbk
/images/thumbnails/50/84/detailed/54/coloured_vests_category2_0j6r-0z.jpg
SOme of them have really strange directory names as 50/30/1000.111
thetool
#2
The theory is that it is easier searching through a directory that has a thousand files versus one directory with millions of files.
Everything is correct
0, 1, 2 folders depends on the MAX_FILES_IN_DIR setting in the config.local.php. You can specify the maximum number of files, stored in directory.
As for thumbnails, the structure is the following:
images/thumbnails/WIDTH/HEIGHT/detailed/0/FILE_NAME.jpg