onedrop/imagesrcset

Last activity on 12 December 2020
  • 2
  • 2019
composer require onedrop/imagesrcset

Adds responsive image sizes via the the srcset attribute to the default NodeTypes

1.1.0

Adds responsive image sizes via the the srcset attribute to the default NodeTypes

Version
1.1.0
Type
neos-package
Release Date
17.12.2020 13:16:00
Source
git
Distribution
zip
Requires
Requires (dev)
None
Suggest
None
Provides
None
Conflicts
None
Replaces
None
MIT 74edad332ae002f12eb4f14a82ad0d4fe8506691

Onedrop.ImageSrcset

This adds responsive image sizes via the the srcset attribute to the default Neos.NodeTypes:Image and Neos.NodeTypes:TextWithImage NodeTypes.

How-To:

Install:

Use the command composer require onedrop/imagesrcset to add this package as a requirement to your Neos project.
(Or: Download the zip and unpack it to Packages/Application/Onedrop.ImageSrcset)

Configuration:

The following default values are provided by the plugin:

Onedrop:
  ImageSrcset:
    sizes:          # dynamic array of sizes generated for the srcset attribute
      full: 2560
      large: 1280
      medium: 768
      small: 420
      tiny: 240

Feel free to add or remove sizes according to your specific needs.

The content of the readme is provided by Github
The same vendor provides 19 package(s).