Forum Discussion
Scalable Vector Graphics (SVG) in SharePoint Online communication sites - Weird resizing behavior
TimLB I have tried using svg's for icons on quick link web parts (I wanted to create icons that resembled the standard MS icons). However, Sharepoint took several minutes to render the image, usually just giving up in the process. The very aggravating part was that every time I tried to upload another image, it would display the "recent images," including the offending svg file. The result is that sharepoint locked up for several minutes every time I tried to upload another image until I realized the problem. This occured in both Chrome and Edge. My take is that while MS Powerpoint can handle an svg, Sharepoint cannot.
- TimLBDec 14, 2022Iron ContributorNo 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.