Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Kirby Tag that add srcset to the <img> tag

License

Notifications You must be signed in to change notification settings

Pascalmh/kirby-responsiveimage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]