Search by

eekes / sulu-image-optimizer-bundle

eekes

Optimizes and resizes images before they are stored in the Sulu media library, with a log of what every upload saved

Package info

github.com/eekes/sulu-image-optimizer-bundle

Type:symfony-bundle

pkg:composer/eekes/sulu-image-optimizer-bundle

Statistics

Installs: 40

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.1 2026-11-05 14:55 UTC

This package is auto-updated.

Last update: 2026-11-05 14:56:07 UTC


README

Optimizes and resizes every upload to the Sulu 3 media library before Sulu stores it, so every image format Sulu creates later starts from a sensible file instead of a 40 megapixel phone photo. What every upload saved is logged under Settings → Image optimization.

What's inside

  • Optimizes every upload: scales down oversized images, removes EXIF and GPS data, sanitizes SVGs, and never stores a larger file than the original.
  • The optimization log: size and dimensions before and after for every upload, in the Sulu admin.
  • Optimizing existing media: run the existing library through it, as new versions that can be undone.
  • Server setup: works with GD alone, and squeezes out more with jpegoptim, pngquant, cwebp and friends.
  • Migrating from innomedio: the step from innomedio/sulu-image-optimizer-bundle to this bundle.

Documentation

Installation, configuration and everything else: sulu.eekes.be/sulu-image-optimizer-bundle.

License

MIT