Download the PHP package nerdcel/kirby3-responsive-images without Composer
On this page you can find all versions of the php package nerdcel/kirby3-responsive-images. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nerdcel/kirby3-responsive-images
More information about nerdcel/kirby3-responsive-images
Files in nerdcel/kirby3-responsive-images
Package kirby3-responsive-images
Short Description Kirby3 plugin to manage responsive images settings using the panel.
License MIT
Homepage https://github.com/nerdcel/kirby3-responsive-images
Informations about the package kirby3-responsive-images
Kirby3 plugin: Responsive images
This plugin provides a custom panel for your kirby installation to add breakpoints and image resolutions for your templates to have full control over your rendered images. The plugins generates a JSON file holding your configuration to your desired path. To set the path and other options, please see the Options section in this README file.
This plugin is completely free and published under the MIT license. However, if you are using it in a commercial project and want to help me keep up with maintenance, please consider making a donation of your choice.
Installation
Download
Download and copy this repository to /site/plugins/responsive-images
.
Git submodule
Composer
Setup
Template
Output
Options
The following options are available to be set using your site/config/config.php
Image driver
In favor of the upcoming Kirby 4 release, the "crop" driver is now a callback function. This allows you to use any cropping driver you want. For example if you are using the flokosiol/kirby-focus plugin, you can use the driver shown above. In general the driver expects a callback function with the following signature:
Development
Frontend components are based on kirby's internal UI Kit. Development works using the kirbyup npm module. To start developing simply run the following cmd from the plugin root:
If that doesn't work, rund first.
License
MIT