Forum Discussion
Does _NOPROCESS_ work with SVG Files?
As stated in the title, does adding NOPROCESS to SVG filenames have the same intended effect as it does when adding it to PNG or JPG files?
Thanks, there are some threads and even a mention on Articulate's main site, but it is still unclear to me.
5 Replies
- Tim_Community Member
SVG files get processed even if you add __NOPROCESS__ in the name. SVG files can, by design, contain javascript and css. This gets 'sanitized' by some process even if you add the directive (meaning: they take all that javascript out again, sometimes mess with the css, and ruin your effects). And the SVG you put in isn't always exactly the SVG that appears, so there is something going on at the server. __NOPROCESS__ used work a number of years ago, but it has become an undocumented feature (used be mentioned on https://www.articulatesupport.com/article/Best-Practices-for-Images-Videos-and-Audio-in-Rise-Courses and no longer is) and it seems like there might be a different image processor at the server side these days.
- NickSoave-e5fcbCommunity Member
Thank you to both Phils! This is good information to know!
- PhilMayorSuper Hero
no process shouldn't be necessary on SVGs as they are mathematical by nature they shouldn't need compressing
Related Content
- 4 months ago