Skip to main content
2 of 3
edited tags
Rick Pannekoek
  • 21.4k
  • 1
  • 18
  • 30

Responsive SVG image path not available

Using following line of code, the application on which I am working is creating resized image url.

string responsiveImageUrl = SiteConfiguration.MediaHelper.GetResponsiveImageUrl(Url, aspect, widthFactor, containerSize);

eg: mysitename/en/media/agriculture_tcm1010-123038_w320_h198_n.svg

But this image is not available, if I see remove the "_w320_h198_n", the image url which is "mysitename/en/media/agriculture_tcm1010-123038.svg" displays an image. And this issue is only with .svg type. Is it not possible to resize an svg image or the issue is specific to SDL Tridion only?

What exactly is happening here