Can drag an SVG into the library but the Upload button will not let me choose one

What you are seeing

I can drag an SVG into the library but the Upload button will not let me choose one


#Why it happens

The Upload button's file dialog filter and the drag-and-drop accepted list are different. Drag-and-drop accepts svg, ico and jfif; the Upload dialog does not offer them.


#What to do

Drag SVG, ICO and JFIF files onto the library section instead of using the Upload button.


#Settings involved

Setting

Where

What it does

Global settings → Asset access (Permissi

Capable settings → Asset access

-

Global settings → Indexing

Capable settings → Indexing

-

Global image library space

Confluence space with the key CAPABLEASSETSTORE, named 'Capable Asset Store'

-


#Limits that apply here

Limit

Value

What happens

Upload. Drag and drop accepted extensions.

Bmp, gif, ico, jfif, jpeg, jpg, png, svg

Anything else raises 'Invalid file type. Only image files are allowed'.

Upload. Upload button file dialog filter.

.png .jpg .jpeg .gif .bmp .tiff .webp .p

This list omits svg, ico and jfif, which drag-and-drop does accept.

Editor / attachment-import fetch ceiling

3 MB

An attachment loaded for editing or importing into the library is capped at 3 MB of raw bytes. Larger files are auto-resized to PNG to fit; only if that still fails does it error 'Image too large for


#A few things that catch people out

  • The Upload button's file dialog and drag-and-drop accept different formats. The button omits svg, ico and jfif, which the drop overlay allows. An SVG can be dragged in but is not offered by the Browse dialog.

  • Nothing in the browser enforces a maximum upload size. An over-large file can be stored successfully yet later fail to load in the editor or through the chat tools, which cap at 3 MB and 5 MB respectively.



Found it? Good.