Browser: Firefox 122.0b2 OS: macOS / Windows / Linux / etc.
Hi,
When I import the template from site A to site B (by .json file). Everything is fine, except the SVG Elements. These SVG Elements are corrupted because the svg image files were not imported (downloaded) from site A.
Note: I setting allow upload svg and upload .svg successful.
This is not a bug, but a deliberate decision. SVGs are removed during import for security reasons because, to put it simply, they are just code that could also be harmful.
Since anyone who has access to the builder can also use and import templates, this would invalidate the “SVG uploads” setting (which is there for security reasons, too).
You are welcome to submit this as a suggestion on the Idea board so that we can come up with a solution, if needed.
Hi @timmse, thanks for your reply.
How about I import by remote? My sites are A and B. I remote import template from site A to site B.
svg can be imported and downloaded, but image (.jpg) (in Carousel Element) cannot?
If I import from Community Remote Template, everything ok. The images will be download.
No, all good. You’re right that the import behaves differently, so we definitely need to look into that. I have already created an internal task for this.