PHPackages                             umanit/twig-image-extension - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. umanit/twig-image-extension

ActiveLibrary[Templating &amp; Views](/categories/templating)

umanit/twig-image-extension
===========================

An extension to facilitate the integration of responsive images' markup in Twig templates.

1.3.3(1y ago)1042.2k↓39.6%4[1 PRs](https://github.com/umanit/twig-image-extension/pulls)MITPHPPHP ^7.4|^8.0CI failing

Since Apr 14Pushed 1y ago5 watchersCompare

[ Source](https://github.com/umanit/twig-image-extension)[ Packagist](https://packagist.org/packages/umanit/twig-image-extension)[ RSS](/packages/umanit-twig-image-extension/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (21)Used By (0)

UmanIT - Twig Image Extension
=============================

[](#umanit---twig-image-extension)

This Twig extension facilitates the integration of responsive images markup in Twig templates.

It uses [LiipImagineBundle](https://symfony.com/doc/2.0/bundles/LiipImagineBundle/index.html) and its filters to generate HTML markup with all you need to handle responsive images.

It also provides a JavaScript module to automatically instantiate [yall.js](https://github.com/malchata/yall.js/) on rendered images.

Installation
------------

[](#installation)

Use the package manager [composer](https://getcomposer.org/) to install the extension.

```
composer require umanit/twig-image-extension
```

Load the bundle into your Symfony project.

```
