Skip to content

When multiple large images are loaded at the same time, NuxtImg stuck at placeholder, (img.decode fails silently) #2130

Description

@NamesMT

Currently we're using img.decode when available

, but it seems like if we have many NuxtImg created at the same time, loading somewhat large images (my test setup is 10x ~1MB images), some image.decode() will fail with EncodingError: The source image cannot be decoded., it is also silent and does not logged to console by default if we don't add @error handler, leaving the images stuck in placeholder state if we do use placeholder.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions