Search by

hermajan / imagony

hermajan

Symfony bundle and Twig extension for thumbnail generation.

Package info

github.com/hermajan/imagony

Type:symfony-bundle

pkg:composer/hermajan/imagony

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-master 2026-10-09 14:36 UTC

This package is auto-updated.

Last update: 2026-10-09 14:38:49 UTC


README

Packagist

Symfony bundle and Twig extension for creating thumbnails of images using Imagine.

✨ Features

  • Thumbnails: the Twig function thumbnail() creates cached thumbnails of a given size or of a named template.
  • Resize modes: fit, shrink only, stretch, fill and exact (crop).
  • WebP and AVIF: thumbnails are also converted to modern formats.
  • Built-in placeholder: a missing or broken image is replaced by a fallback served by the bundle, no assets to install.
  • Zero configuration: works without a config file, GD or Imagick is used automatically.
  • Diagnostics: imagony:check explains missing PHP extensions and wrong configuration, imagony:clean removes generated thumbnails.
  • Open Graph images: converts images to the 1.91:1 ratio.

📥 Installation

Install this via Composer:

composer require hermajan/imagony

PHP 8.2+ with the GD or Imagick extension is required.

📚 Documentation

Usage and documentation for this project is in wiki.