Skip to content

Image is partially converted to WebP #69

Description

@mitogh

Note

Make sure the Performance plugin is enabled and activated, as well with the webp modules for images at: Settings > Performance

Related with issue:

Steps to recreate

  1. Open the WordPress dashboard.
  2. Go to Media > Add New
  3. Upload the image
  4. Visit the attachment page of the image.

2021-12-22_16-08

Generated Markup:

<img 
width="1920" 
height="2400" 
src="http://galaxy.lndo.site/wp-content/uploads/2021/12/sami-takarautio-NEHr44foE54-unsplash.jpg" 
class="attachment-full size-full" 
alt="" loading="lazy" 
srcset="http://galaxy.lndo.site/wp-content/uploads/2021/12/sami-takarautio-NEHr44foE54-unsplash.jpg 1920w,
http://galaxy.lndo.site/wp-content/uploads/2021/12/sami-takarautio-NEHr44foE54-unsplash-240x300.webp 240w, 
http://galaxy.lndo.site/wp-content/uploads/2021/12/sami-takarautio-NEHr44foE54-unsplash-819x1024.webp 819w, 
http://galaxy.lndo.site/wp-content/uploads/2021/12/sami-takarautio-NEHr44foE54-unsplash-768x960.webp 768w, 
http://galaxy.lndo.site/wp-content/uploads/2021/12/sami-takarautio-NEHr44foE54-unsplash-1229x1536.webp 1229w, 
http://galaxy.lndo.site/wp-content/uploads/2021/12/sami-takarautio-NEHr44foE54-unsplash-1638x2048.webp 1638w, 
http://galaxy.lndo.site/wp-content/uploads/2021/12/sami-takarautio-NEHr44foE54-unsplash-1568x1960.webp 1568w" 
sizes="(max-width: 1920px) 100vw, 1920px" 
style="width:100%;height:125%;max-width:1920px;"
>

Original image to replicate the issue.

sami-takarautio-NEHr44foE54-unsplash

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Plugin] Modern Image FormatsIssues for the Modern Image Formats plugin (formerly WebP Uploads)[Type] BugAn existing feature is broken

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions