ToXxX Posted May 14, 2011 Share Posted May 14, 2011 Hi, I am using prestashop since april and i found it very simple and useful.But i have a question: if product number will reach 10.000 or 15.000 then there are 60.000 or 75.000 images in /p/ directory; is there a way to avoid this high number of images in one directory? Is there a way to divide the images in subdirectory (e.g. image in /p/, small in /p/small/, large in /p/large/, ecc...)?Sorry for my bad english, and thank to all for patience. Link to comment Share on other sites More sharing options...
zyko Posted May 14, 2011 Share Posted May 14, 2011 What is the purpose of dividing the images into sub-folder or subdirectory ?? I don't think, having high number of images in one folder would affect the prestashop working , instead of increasing the folder size Link to comment Share on other sites More sharing options...
ToXxX Posted May 14, 2011 Author Share Posted May 14, 2011 What is the purpose of dividing the images into sub-folder or subdirectory ?? I don't think, having high number of images in one folder would affect the prestashop working , instead of increasing the folder size Isn't a maximum number of files in one directory?Doesn't slow the system? Link to comment Share on other sites More sharing options...
jimlevitt Posted May 14, 2011 Share Posted May 14, 2011 I don't think there are any rules to the maximum amount of files you can have in a directory. But if you do have a lot of images, then your website is going to load slower (depending on how much room they take up). But I don't see how putting them in subdirectories will help that Link to comment Share on other sites More sharing options...
zyko Posted May 14, 2011 Share Posted May 14, 2011 But if you do have a lot of images on web page, then your website is going to load slower (depending on how much room they take up) "on web page" - is missing form above statement.Else have larger no of files in a folder wouldn't slow the system - until we trying to retrieve all the images at a time from any web page Link to comment Share on other sites More sharing options...
ruilong Posted May 14, 2011 Share Posted May 14, 2011 The only problem I see with all the files in one folder, is that most FTP servers have a limit on 3000 ~ 5000 files in the directory listings. But if you have that many products, you should host your site on a dedicated or VPS solution so that you have ssh access anyway. Link to comment Share on other sites More sharing options...
Recommended Posts