Hello, I plan to upload about 200 products to start with and more in the near future. Each product has 5-10 images, shot from different angles. That equates to 1000 - 2000 images for the first 200 products.
I read somewhere that having more than a thousand images in a single directory is a bad idea, because all the common filing system has a linear search( need to look up every single file until it finds the match) and slows down the system. If that is true, I want to create a subdirectory system. Possibly create subdirectories based on the first or second letter of the product name and put images. Also, save the name of the image with the path. To do this, I would need to change "def _get_filename(self):" in ProductImage model Any recommendation on how I should change the behavior of that function? I read about custom product module http://www.satchmoproject.com/docs/dev/custom-product.html, but not sure if it's for changing how model saves its items. Thank you. David L. -- You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.
