Skip to content

Some webp images sizes are not calculated correctly (1px) #2468

@ligne13

Description

@ligne13

Bug Description

Sometimes, webp images are displayed at 1x1 px. In the medla library and on the website. When I open the image URL in a new tab it is displayed correctly.

Image

The first image has width and height equal to 1px in the HTML:

Image

Additional Context

  • Wordpres Version : 6.9.4
  • PHP Version: 8.1.34
  • Plugin Version: Modern Image Formats 2.6.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] BugAn existing feature is broken

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Not Started/Backlog 📆

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions