Umbraco 13 media picker wont let me select recently uploaded svg

I have a document type with a standard Umbraco.MediaPicker3 property. Vector Graphics (SVG) is included in the Accepted types.

I have 3 existing svg files uploaded in Media section. I upload a new one, but Umbraco will not let me select it in the media picker, only the ones already uploaded some time ago. The new one shows the not available cursor pointer when I try to select it.

Tried restarting and reuploading saving and renaming, nothing is working. What am I missing?

I’ll assume its definitely a svg file and you have carried out the relevant checks.

If so, did you upload the file using the “drag and drop” feature? If yes, could you delete the file and re-upload by navigating to the file to see if that works? I recall this bug a while back which helped me overcome a similar issue.

Hi @EssCee ,

It is a valid SVG and I can right-click open in a new tab from the Media dashboard and it displays as expected.

I tried using Media → Create button, selecting specifically Vector Graphic and uploading by file browser. This way I saw blob: is denied by our CSP sites header in the browser dev tools console. I allowed blob: in the default-src directive of the CSP and it works now.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.