Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Teaser support for SVG images

Avatar

Level 3

I attempted to add an issue to the github repository, but due to some firewall issues, was unable to successfully do so.

That said, I'll place the same info in here and see if i could get similar results

## Bug Report

**Current Behavior**

When proxying the Teaser core component and setting the imageDelegate property to 'core/wcm/components/image/v2/image', the image tab does not have support for placing and SVG image into the component.

**Expected behavior/code**

Since the proxied component is using the V2 core image component as its delegate (which has support for SVG images) the SVG should be visible within the proxied Teaser.

**Environment**

- AEM 6.4.3

- Core Components version 2.3.2

- Java(TM) SE Runtime Environment (build 1.8.0_151-b12)

1 Accepted Solution

Avatar

Correct answer by
Employee

Check the error.log for messages around the XSS Filter stripping the svg.

SVG's are not rendered for security considerations.

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

Check the error.log for messages around the XSS Filter stripping the svg.

SVG's are not rendered for security considerations.