/kirby-responsiveimage

Kirby Tag that add srcset to the <img> tag

Primary LanguagePHPMIT LicenseMIT

Kirby - responsiveimage tag

This is a plugin for Kirby. It adds the srcset attribute to the <img>-tag.

Installation

composer require pascalmh/kirby-responsiveimage

Options

You can use the following Options

responsiveimage.widths

Type: array Default value: [2400, 2200, 2000, 1800, 1400, 1200, 1000, 800, 600, 400, 320]