Try our new AI assistant by clicking the chat icon in the lower right corner.
Product images are now partitioned into Sub Directories keeping each directory with around 10,000 images, although there is no hard limit.
When you add an image to a product in Miva 10, it automatically gets partitioned into a subdirectory within the graphics folder:
The subdirectories are created and managed automatically on the server. Miva will start a new numeric subdirectory once there are 2,500 master images in a folder. On average each master has 3 additional image sizes which take the total number of images close to 10,000.
It is worth noting these subdirectories will apply to all images uploaded via the Miva image picker. This includes product images, ReadyTheme Images, and things like category tree and category title images.
For upgraded stores, Miva provides an image utility to automatically partition existing images into subdirectories.
In the Main Settings menu expand Utilities and click Image management
Under the more menu, there is a new Partition Images link.
When clicked a warning message will be displayed:
This migration wizard will only update images that are referenced in Miva. These are images that have been uploaded via the Miva image picker and have an entry in Mivas Images database. All other images which have been uploaded to the server via FTP will not be impacted.
Before:
After:
While it is not very common, but it is important to look through all page templates to verify there are no hardcoded image paths. Also, consideration needs to be given to product feeds with image paths. After the migration, feeds with hardcoded image paths need to be re-generated so they will output the correct image path.
Example Feeds