'gd', // à mettre en imagick quand webp sera dispo sur le server avec imagick /** * The cache driver to use as defined * in config/cache of your app */ 'cache' => 'file', /** * The path where to store image in cache */ 'cachePath' => 'cache/images', /** * Image cache life time * This is given in minutes * Here the cache for images is * one hour */ 'lifeTime' => 535680, // 1 ans /** * Format can specifiy to which format save the image * JPEG PNG GIF TIF BMP ICO PSD WebP * GD ✔️ ✔️ ✔️ - - - - ✔️ * * Imagick ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ * * For WebP support GD driver must be used with PHP 5 >= 5.5.0 or PHP 7 * in order to use imagewebp(). If Imagick is used, it must be compiled * with libwebp for WebP support. * example : * 'small' => [ * 'height' => 500, * 'width' => 250, * 'inCanvas' => true, * ], * 'smallWebp' => [ * 'height' => 500, * 'width' => 250, * 'inCanvas' => true, * 'format' => 'webp' * ] */ 'templates' => [ 'landingWebp' => [ 'height' => 217, 'width' => 168, 'inCanvas' => true, 'format' => 'webp' ], 'productsPngWidget' => [ 'height' => 324, 'width' => 328, 'inCanvas' => true, 'format' => 'png', 'resize' => true, 'keepRatio' => true, 'trim' => ['transparent', null, 10] ], 'joinusEncartJpg' => [ 'height' => 237, 'width' => 420, 'format' => 'jpg', 'resize' => true, 'keepRatio' => true ], 'joinusEncartWebp' => [ 'height' => 237, 'width' => 420, 'format' => 'webp', 'resize' => true, 'keepRatio' => true ], 'breederPng' => [ 'height' => 271, 'width' => 225, 'inCanvas' => true, 'format' => 'png', 'trim' => true ] ] ];