All plugins

@verco.app/image-optimizer

Image optimizer

Finds images in the media library that could be smaller. Read-only for now: safe in-place optimization needs EmDash support.

View source

About Image optimizer

The image report lists the images in your media library that are larger than your site needs, ordered by estimated saving, and shows on the dashboard how much could be saved. It reads only each image's type, size and dimensions, so every saving is an estimate.

Why it is read-only. Optimizing an image means replacing its file. EmDash has no way yet for a plugin to replace a file safely: replacing overwrites the file at the same address, so the original is lost, a bad result cannot be undone, and an editor's change made at the same moment can be overwritten. Sandboxed plugins cannot replace files at all. Rather than work around that, the plugin reports and never changes media.

Optimizing is planned. In-place optimization will be added once EmDash can replace an image while keeping its original and refusing conflicting changes. That support has been proposed to the EmDash project: https://github.com/emdash-cms/emdash/discussions/3740

Before you install

Requested permissions

1
  • Read media

    Read media metadata from your library.

Install on your site

Open in EmDash

Choose the EmDash site where you want to review this plugin. Nothing is installed until you confirm its permissions in that site's admin.

This browser will remember the site. You can change it next time.