List of supported image formats?

Hi everyone,

is there a list of supported Image formats? I tried googling it but wasn’t successful. Reason is that people want to store images with proprietary image formats. So not your standard images like.jpg.

When they put a image in a table for example, the image is not displayed, instead the cell shows the filename and when it’s clicked, a download starts.

So it would be great to have a list with the supported formats.

Best regards,

Belereon

Hello, I think the limitation is your browser and whether it supports displaying that image format. XWiki generates an HTML IMG tag.

That was my first reflex too, but then I remembered https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Attachments#HSecurity which, I think, applies to images too.

So, these are our most used image types:

  • lif / lof
  • czi
  • vsi
  • obf
  • ims
  • sis
  • ics

These are not standard formats by any means. So you think that I can simply whitelist them?

Are you sure all those are images ? ics files are supposed to be calendar files for example.

Probably. But I would start by trying to upload those images first with a user who have programming right and see if they work, since in this case the protection is not applied.

These are bioformat files, not calendar files.
So you mean I could import them as Admin with programming rights and they would display the picture? That’s great to know. I’ll try it.

OK, it’s just that the general expectation in a web context for a file with extension .ics is that it’s a calendar file, and that might be what the browser will think too.