Revisiting this as I think there may be an inherent bug somewhere in the system.
Let me know where my thinking is incorrect.
ncludes/modules/main_product_image.php uses lines 19 - 22 to strip the extension from the products image.
Code:
$products_image_extension = '.' . pathinfo($products_image, PATHINFO_EXTENSION);$products_image_base = str_replace($products_image_extension, '', $products_image);
$products_image_medium = $products_image_base . IMAGE_SUFFIX_MEDIUM . $products_image_extension;
$products_image_large = $products_image_base . IMAGE_SUFFIX_LARGE . $products_image_extension;
Therefore, xxxx111.jpg, xxxx112.jpg, and xxxx113.jpg should be passed to the system as xxxx111, xxxx112, and xxxx113 removing the (.) along with the file extension.
Then we move the to the product listing page and the additional images (in my case, xxxx111_a thru xxxx111_d)
The same thing is done to provide a base for additional images in includes/modules/additional_images.php.
What appears to be happening somewhere along the way is that the $poducts_image_base is being truncated to the first six characters after the extension is removed as the duplicate additional images only occur in products that have a match of the first six characters in the image filename.
I can find no where in the additional images file that this is happening but perhaps it is happening elsewhere.
Bookmarks