Skip to content

[Bug Report]: Animated webp images partially supported - behave strangely #3142

@paviro

Description

@paviro

Describe the Bug

When I noticed #3136 I tried a couple of other animated image formats one of them webp.
When uploading a normal webp image everything is fine. When containing animations however the image uploads just fine but doesn't show a preview.
jkdfjdf
When adding the image to the document it is displayed like you can see in the background. Clicking on it show the source to be null.
jksjkdsjkfsdf
Removing the image and adding it again has the same result. Clicking on the folder on the existing image with the null resource and adding it from here results in this:
sjkdjksdjkds
The question mark image can be removed and the animated webp stays in tackt now but only if you add it this way.

Steps to Reproduce

See above.

Expected Behaviour

Animated webp images should behave as normal webp images do.

Screenshots or Additional Context

No response

Exact BookStack Version

BookStack v21.12

PHP Version

8.0

Hosting Environment

Debian with Nginx as webserver

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions