Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Support WebP images - they already work with some light 'hackery'!

Tom Medhurst
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 17, 2020

I had an logo I wanted to use for a JIRA project log (basically I just grabbed the logo from our client's web site) which was in .webp format.

When I attempted to upload to image, JIRA validation error prompted me that this format was not recognised.

I renamed the file extension to .png and, despite these formats not being binary compatible (i.e. completely different headers etc.), it worked!

I'm assuming it worked because the file extension fooled the validation logic, and the utility used for creating thumbnails is ignoring the file extension and reading the actual header of the file and already supports the .webp format.

Please can someone change the validation to allow this image format? It's been around for some time now, no reason to leave it out :)

1 comment

Comment

Log in or Sign up to comment
Emmanouil Lazarides March 21, 2021

Have you tried changing the mime.types file (or equivalent) as suggested for Confluence in this post?

https://community.atlassian.com/t5/Confluence-questions/Serve-SVG-inline-in-Confluence/qaq-p/102496 

TAGS
AUG Leaders

Atlassian Community Events