I have over 1 million downloadable products in my online store but I don't want to have individual images because there would be over 3 million images in this directory.
The product image NAMES would normally formatted like this (this is how they are generated in my store software):
XXXXX-YYYYY-home.jpg
XXXXX-YYYYY-medium.jpg
XXXXX-YYYYY-large.jpg
Where XXXXX = the productID and YYYYY = the id of the image record in the image table.
Since I want them to use the exact same image(s) because they are downloadable products, how can I create a mod-rewrite entry where any product image name generated by the store would actually return these?
1-1-home.jpg
1-1-medium.jpg
1-1-large.jpg