Width or Height is set to 500 but the image sizes itself automatically
What you are seeing
Width or Height is set to 500 but the image sizes itself automatically
#Why it happens
500 was a legacy sentinel meaning 'auto-size', so a macro saved with 500 behaves as if the field were blank.
#What to do
Use 499 or 501 if you genuinely need roughly that size, or set the other dimension instead.
#Settings involved
Setting | Where | What it does |
|---|---|---|
Global settings → Capabilities | Confluence admin → Apps → Capable → Settings → Capabilities | - |
Global settings → Asset access (Permissi | Capable settings → Asset access | - |
Global settings → Egress | Capable settings → Egress | - |
#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'. |
General image compression target | 5 MB and 2500 px on the longest side | - |
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
Value 500 in Width or Height is ignored. It was a legacy sentinel meaning 'auto-size', so a macro saved with 500 behaves as if the field were blank.
#Related
Can drag an SVG into the library but the Upload button will not let me choose one
The Upload button's file dialog filter and the drag-and-drop accepted list are different.
'Invalid file type — Only image files are allowed' when dragging a file in
The file's extension is not on the drag-and-drop accepted list (bmp, gif, ico, jfif, jpeg,
Everything else
The rest of this family.
Found it? Good.
