| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <?php
- return [
- /*
- |--------------------------------------------------------------------------
- | Name of route
- |--------------------------------------------------------------------------
- |
- | Enter the routes name to enable dynamic imagecache manipulation.
- | This handle will define the first part of the URI:
- |
- | {route}/{template}/{filename}
- |
- | Examples: "images", "img/cache"
- |
- */
- 'route' => 'cache',
- /*
- |--------------------------------------------------------------------------
- | Storage paths
- |--------------------------------------------------------------------------
- |
- | The following paths will be searched for the image filename, submited
- | by URI.
- |
- | Define as many directories as you like.
- |
- */
- 'paths' => [
- storage_path('app/public'),
- public_path('storage'),
- ],
- /*
- |--------------------------------------------------------------------------
- | Manipulation templates
- |--------------------------------------------------------------------------
- |
- | Here you may specify your own manipulation filter templates.
- | The keys of this array will define which templates
- | are available in the URI:
- |
- | {route}/{template}/{filename}
- |
- | The values of this array will define which filter class
- | will be applied, by its fully qualified name.
- |
- */
- 'templates' => [
- 'small' => 'Webkul\Shop\CacheFilters\Small',
- 'medium' => 'Webkul\Shop\CacheFilters\Medium',
- 'large' => 'Webkul\Shop\CacheFilters\Large',
- ],
- /*
- |--------------------------------------------------------------------------
- | Image Cache Lifetime
- |--------------------------------------------------------------------------
- |
- | Lifetime in minutes of the images handled by the imagecache route.
- |
- */
- 'lifetime' => 525600,
- ];
|