PHPackages                             visol/neos-responsiveimages - 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. visol/neos-responsiveimages

ActiveNeos-package

visol/neos-responsiveimages
===========================

Neos package that helps implementing responsive images based on npm's lazyimages

2.3.0(1y ago)56.5k↓50%3[2 issues](https://github.com/visol/Visol.Neos.ResponsiveImages/issues)MITPHP

Since Feb 28Pushed 1y ago4 watchersCompare

[ Source](https://github.com/visol/Visol.Neos.ResponsiveImages)[ Packagist](https://packagist.org/packages/visol/neos-responsiveimages)[ RSS](/packages/visol-neos-responsiveimages/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (1)Versions (14)Used By (0)

Visol.Neos.ResponsiveImages
===========================

[](#visolneosresponsiveimages)

This Neos package helps using npm's lazysizes strategy to implement responsive images. See

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

[](#installation)

To install the package correctly, go to your theme package (e.g. `Packages/Sites/Visol.Site`) and run the following command:

```
composer require visol/neos-responsiveimages --no-update

```

- Install lazysizes. E.g. with npm

    ```
    npm install lazysizes --save

    ```
- Add the JavaScript sources to your main script

    ```
    import 'lazysizes/plugins/parent-fit/ls.parent-fit.min';
    import 'lazysizes/plugins/bgset/ls.bgset.min';
    import 'lazysizes/lazysizes.min';

    ```

Quick Start
-----------

[](#quick-start)

Just replace usages of the `Neos.Fusion:Image` prototype with `Visol.Neos.ResponsiveImages:ImageTag`. e.g.

```
image = Visol.Neos.ResponsiveImages:ImageTag {
    asset = ${q(event).property('teaserImage')}
    ratio = 1.46
}

```

Or use the ViewHelper provided. e.g.

```
{namespace responsiveImages=Visol\Neos\ResponsiveImages\ViewHelpers}

```

Configuration
-------------

[](#configuration)

Adjust the desired image sizes in your `Settings.yaml`

```
Visol:
  Neos:
    ResponsiveImages:
      SizesPresets:
        Default:
          - 16
          - 48
          - 96
          - 160
          - 320
          - 480
          - 640
          - 960
          - 1024
          - 1440
          - 1920
          - 2560
          - 3840
          - 5120

```

Usage with background images
----------------------------

[](#usage-with-background-images)

Use `Visol.Neos.ResponsiveImages:SrcSet` prototype to generate srcset-Attribute

```
imageUri = Visol.Neos.ResponsiveImages:SrcSet {
    asset = ${q(offer).property('image')}
    ratio = 0.91
}

```

Add class `lazyload` and data-attributes

```

```

### Compatibility and Maintenance

[](#compatibility-and-maintenance)

This package is currently being maintained for the following versions:

Neos VersionVersionMaintainedNeos 3.x1.xYesNeos 4.x1.xYesNeos 5.x and above2.xYes### Credits

[](#credits)

visol digitale Dienstleistungen GmbH, [www.visol.ch](http://www.visol.ch)

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 63.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~204 days

Recently: every ~454 days

Total

13

Last Release

553d ago

Major Versions

0.2.1 → 1.0.02019-11-21

1.x-dev → 2.0.02021-09-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/d6e1686bc798a88033f481f209a4f060235147ac7dca4c3391f2d171e30fdd4a?d=identicon)[visol](/maintainers/visol)

---

Top Contributors

[![lorenzulrich](https://avatars.githubusercontent.com/u/1816023?v=4)](https://github.com/lorenzulrich "lorenzulrich (12 commits)")[![jrenggli](https://avatars.githubusercontent.com/u/743094?v=4)](https://github.com/jrenggli "jrenggli (4 commits)")[![markusguenther](https://avatars.githubusercontent.com/u/1014126?v=4)](https://github.com/markusguenther "markusguenther (2 commits)")[![jonnitto](https://avatars.githubusercontent.com/u/4510166?v=4)](https://github.com/jonnitto "jonnitto (1 commits)")

### Embed Badge

![Health badge](/badges/visol-neos-responsiveimages/health.svg)

```
[![Health](https://phpackages.com/badges/visol-neos-responsiveimages/health.svg)](https://phpackages.com/packages/visol-neos-responsiveimages)
```

###  Alternatives

[neos/neos

An open source Content Application Platform based on Flow. A set of core Content Management features is resting within a larger context that allows you to build a perfectly customized experience for your users.

116989.0k674](/packages/neos-neos)[neos/fusion-afx

JSX inspired compact syntax for Neos.Fusion

26940.5k53](/packages/neos-fusion-afx)[neos/fusion-form

Fusion Form

19724.3k31](/packages/neos-fusion-form)[flowpack/searchplugin

Plugin for search integration via content node

24257.5k1](/packages/flowpack-searchplugin)[packagefactory/atomicfusion-proptypes

Fusion port of react-propTypes for the fusion-prototypes PackageFactory.AtomicFusion:Component and Neos.Fusion:Component

12200.0k4](/packages/packagefactory-atomicfusion-proptypes)[sandstorm/neostwofactorauthentication

1223.6k](/packages/sandstorm-neostwofactorauthentication)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
