Skip to content

When generating WebPs, ensure full size is generated(-scaled for large images) #174

@adamsilverstein

Description

@adamsilverstein

Bug Description

After #152 "Full"" sized images inserted by users will still use the original jpeg image or (-scaled version for larger images) because the WebP version is not being generated. See #152 (comment).

Proposal to fix:

  • Always generate a full sized WebP version when WebP output is active
  • For larger images (over big_image_size_threshold), generate a -scaled.webp file

Steps to reproduce

  1. Enable webp-uploads
  2. Upload and insert an image, select full size in the image properties sidebar
  3. view the post and check the image source

Expected:

  • All image references are to .webp files

Actual

  • some references are to a .jpg file.

Screenshots

image
image
image

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions