Skip to content

Add optimization skipped note #31

Open

Description

@bfintal

When the optimized image resulted in a bigger file size, the optimization is skipped, and the original file is uploaded instead. When this happens it might not be apparent to the user that this happened, let's add a notice in the media manager (where the Cimo stats are displayed).

Display this message:

WebP conversion skipped
The WebP version of this image was larger than the original, so the original file was kept instead.
You can try lowering the image quality setting to generate a smaller WebP file.

Change the file type if needed.

Activity

  1. bfintal commented on Mar 18, 2026

    @bfintal
    ContributorAuthor

    @Arukuen let's hold off on this until #35 is added in.

    We can change this to show any optimization errors instead.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions