Hello forum,
- I have spend some time playing around with a pattern for images and especially how set the primary image (DW9.13.8), because I almost convinced a customer that there should be a 'prefix' on the primary image, if we should use the auto checkin feature on assets.
Example with 4 images for a product:
- 010177_0014.jpg (should be primary product image)
- 010177_0014_1.jpg (2nd product image)
- 010177_0014_lifestyle.jpg (1st lifestyle image)
- 010177_0014_lifestyle_1.jpg (2nd lifestyle image)
Normally would I write the pattern straight ahead as: {ProductId};{ProductId}_*;{ProductId}_lifestyle*; because I assumed the first rule would be the match for the 'Primary image rule' = 'None'. But so easy shouldn't be, it was not my expected default image, that was marked as primary image on the product. I ended up reversing the pattern and suddenly it worked out as expected.
But the question is, is this a undocumented feature or simple coincidence?
Br. Michael Knudsen