View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0026738 | mantisbt | attachments | public | 2020-02-25 05:09 | 2026-04-12 18:48 |
| Reporter | webaware | Assigned To | dregad | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 2.23.0 | ||||
| Target Version | 2.29.0 | Fixed in Version | 2.29.0 | ||
| Summary | 0026738: WebP attachments are not forced to display inline | ||||
| Description | file_download.php builds a local array of mime types that will be forced to display inline: This array does not include 'image/webp', and cannot be overridden, so WebP images are forced to download. It would be better to allow them to display inline as per other image formats. Of the popular web browsers, only IE11 and Safari browsers cannot display WebP images, so I reckon it's no risk to allow WebP images to display inline always. https://caniuse.com/#search=webp If it is considered a risk, then perhaps | ||||
| Steps To Reproduce |
| ||||
| Tags | No tags attached. | ||||
|
I just stumbled upon this (again). I had actually started working on it back in 2020, but left it aside due to lack of support for WebP format in some browsers at the time. According to caniuse.com, nowadays this is no longer an issue as all browsers support it. |
|
|
Thanks, much appreciated. |
|
|
Yeah, sorry it took so long ;-) |
|