Skip to content

wsrv.nl - Problem with large webp's - Input image exceeds page limit #6566

Description

@ricksouth

Please confirm the following.

What browsers are you seeing the problem on?

Chrome (including Arc, Brave, Opera, Vivaldi)

Describe the bug

When looking at my Pumpkillager's Quest mod page, I noticed that the webps (converted from gifs) were not loading.

I'm using Cloudflare as a CDN, which is just a static website from a github repo.

Example image:
https://cdn.serilum.com/projects/pumpkillagers-quest/guide/10.webp

Which wsrv converts to:
https://wsrv.nl/?url=https%3A%2F%2Fcdn.serilum.com%2Fprojects%2Fpumpkillagers-quest%2Fguide%2F10.webp&n=-1

With the error:
{"status":"error","code":404,"message":"Input image exceeds page limit. Number of pages should be less than 400"}

It looks like wsrv has a hard limit on a webp having more than 400 frames. This seems like a bug, and a better solution would just be to serve a webp directly, instead of caching it, if they exceed the frame limit.

The animated image it errors on in this case is 4.6Mb. Which I think is acceptable for part of a guide in the description.

Steps to reproduce

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    websiteRelates to Modrinth.com web frontend

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions