Preventing SVG Renditions | Community
Skip to main content
Level 2
June 19, 2018
Solved

Preventing SVG Renditions

  • June 19, 2018
  • 4 replies
  • 5381 views

Hi there,

        With the OOTB workflow implementation I see that its not possible to prevent the rendition creation of SVG files. It works fine for skipping renditions of other mimetypes for example when I checked for image/jpeg it doesn't create renditions of it when skip mime type is configured in the workflow but its not the case with SVG. I checked in 6.2 and 6.3 sp2 both but its the same case. Anyone else faced this issue or know how to fix it in the OOTB workflow itself just to make sure no steps are missed here ?

Result required : To prevent renditions of SVG files.

Attached screenshot :

I've tried all of the above options but none of them seem to work.

Easy way to test : Enable these options in the workflow and upload a .svg file to dam and check through crx/de to see if different renditions are being created.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by shroti

It is a regex match, so please escape the metacharacter '+'. Please try with following: "skip:image/svg\+xml" at "Thumbnail Process" step.

Thanks,

Ashutosh

4 replies

smacdonald2008
Level 10
June 19, 2018

We have asked the AEM Asset team to respond here.

shrotiAdobe EmployeeAccepted solution
Adobe Employee
June 20, 2018

It is a regex match, so please escape the metacharacter '+'. Please try with following: "skip:image/svg\+xml" at "Thumbnail Process" step.

Thanks,

Ashutosh

Level 2
June 20, 2018

Perfect ! works for me. Thanks

Level 2
June 20, 2018

Thanks Scott It was indeed the regex match and since svg's have + in between so it skipped.