I am trying to set the images from DM can be accessed with extension like .jpg. The DM serves the images like below without any extension
https://s7d1.scene7.com/is/image/siliconlabssandbox/hiking_2
To enable the extension with preprocessing rules , i have created the below rules set xml and uploaded to the catalog through Classic App as mentioned in documentation.
<?xml version="1.0" encoding="UTF-8"?>
<ruleset>
<rule>
<expression>(.*)\.jpg(.*)$</expression>
<substitution>$1\2</substitution>
</rule>
</ruleset>
I am trying to hit https://s7d1.scene7.com/is/image/siliconlabssandbox/hiking_2.jpg , it throws me "
Unable to find image
Any idea on how to make it work? Thanks
Documentation
Views
Replies
Total Likes
hi @Saravanan_Dharmaraj ,
Can you please try adding extension for both jpg and jpeg. And then retry.
Hope this works.
Thanks,
Nikita Garg
@Nikita___Garg Unfortunately that didnt work too.
<?xml version="1.0" encoding="UTF-8"?>
<ruleset>
<rule>
<expression>(.*)\.jpg(.*)$</expression>
<substitution>$1\2</substitution>
</rule>
<rule>
<expression>(.*)\.jpeg(.*)$</expression>
<substitution>$1\2</substitution>
</rule>
</ruleset>