Forum Discussion
TimLB
May 10, 2019Steel 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, ...
OiDatsMyLeg
Nov 04, 2019Copper Contributor
TimLB - they used to work fine, we added a number of SVGs for our internal training site to be used for Quick Links images, but as of a couple of months ago they do not render correctly and currently resemble 8-bit sprites circa 1986.
Kinda glad to hear it's not just us. Time to log a ticket.
eliotcole-projectfive
Nov 08, 2019Copper Contributor
OiDatsMyLeg I am having SVG issues, too ... and they're not ... they're weird.
I can add and update the site images for hub pages to SVG on *some* hub sites, but then others just *keep* resetting back to the dumb colour and letter combo. It's infuriating.
Permissions all set the same.
EDIT
Nope ... it's just now started stripping SVG site images on *all* hub sites.
Checking non-hub sites presently.
- eliotcole-projectfiveNov 19, 2019Copper Contributor
So I've found a 'semi' work around ... which is going in to the /_layouts/15/prjsetng.aspx page (available on all site collections, even if it's not listed) and adding a square svg there. This works for parent hub sites all the time (use a long one), and the collections beneath it soooommmmmeeeetiiiimes (go square).
So ... yeah ... it takes for *some* of them ... but it still gets overridden by the absolutely stupid 'letter' image (2 letters from the site name) on some others. I'm not seeing a clear pattern here. Plus, that letter image is dog awful when you have the squared image on your main hub site. It just looks like amateur hour.
This is somewhat silly, and the inability to use it on SP pages at all is ridiculous (it puts a white background on every SVG 😩).