Forum Discussion
TimLB
May 10, 2019Iron Contributor
Scalable Vector Graphics (SVG) in SharePoint Online communication sites - Weird resizing behavior
Has anyone used SVG images on pages in modern communication sites yet? I was curious if people were seeing problems like we are... SVG images placed on the pages will resize with unexpected results, ...
TimLB
Dec 14, 2022Iron Contributor
No update. Our internal communications department has adapted and isn't using SVGs in any of the SPO content they produce.
- Eliot_ColeApr 11, 2024Iron Contributor
Hi,TimLB and AAuras ... it should be much better now. ( this is the same Eliot as before! 😅)
I had actually forgotten my useful settings hack (so I'll reaffirm that back into my toolbox) but out of the box SVGs can work a lot better on sites.
You may still just get some finicky nonsense when dealing with sites that are *in* a hub ... I think ... but hopefully even those are OK now.
- TimLBApr 16, 2024Iron ContributorI'll have to give it another shot. Completely, unrelated... I had to swap out our branding images in the M365 settings and noticed the SVG experience was working there. That made me think that I needed to circle back to this again.
Thanks for the heads-up!- Eliot_ColeApr 17, 2024Iron Contributor
No probs, TimLB.
Yes, 100% for sure in the Branding section of Admin SVG should be used because anything else is going to be painful.
Also, if it helps, I've been doing a fair bit of SVG stuff lately, and you can actually create 'dark mode sensitive' SVGs by including a small amount of CSS to adhere to @media queries.