Closed fanningert closed 9 years ago
Possible to define in the config.php some image profiles.
config.php
Example:
$img_profiles = array(); $img_profiles['template'] = { 'width' => 200, 'height' => 200, 'resize' => 'crop', 'grayscale' => true, ... }; c::set('kirby.extension.imageext.profiles', $img_profiles); c::set('kirby.extension.imageext.default_profile', 'template');
Usage of different profiles with the tag and overwrite some profile settings.
(imagext: picture.jpg profile: template blur: true)
Profiles support is included in version 0.9. Only the default profile parameter is at the moment not implemented.
Is now working
Possible to define in the
config.php
some image profiles.Example:
Usage of different profiles with the tag and overwrite some profile settings.