elektronika_bagisto/config/imagecache.php

71 lines
1.9 KiB
PHP
Raw Normal View History

2018-09-13 11:04:56 +00:00
<?php
return array(
/*
|--------------------------------------------------------------------------
| Name of route
|--------------------------------------------------------------------------
|
| Enter the routes name to enable dynamic imagecache manipulation.
| This handle will define the first part of the URI:
2019-03-25 11:02:13 +00:00
|
2018-09-13 11:04:56 +00:00
| {route}/{template}/{filename}
2019-03-25 11:02:13 +00:00
|
2018-09-13 11:04:56 +00:00
| Examples: "images", "img/cache"
|
*/
2019-03-25 11:02:13 +00:00
'route' => 'cache',
2018-09-13 11:04:56 +00:00
/*
|--------------------------------------------------------------------------
| Storage paths
|--------------------------------------------------------------------------
|
2019-03-25 11:02:13 +00:00
| The following paths will be searched for the image filename, submited
| by URI.
|
2018-09-13 11:04:56 +00:00
| Define as many directories as you like.
|
*/
2019-03-25 11:02:13 +00:00
2018-09-13 11:04:56 +00:00
'paths' => array(
2019-03-25 11:02:13 +00:00
storage_path('app/public'),
public_path('storage')
2018-09-13 11:04:56 +00:00
),
/*
|--------------------------------------------------------------------------
| Manipulation templates
|--------------------------------------------------------------------------
|
| Here you may specify your own manipulation filter templates.
2019-03-25 11:02:13 +00:00
| The keys of this array will define which templates
2018-09-13 11:04:56 +00:00
| 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.
|
*/
2019-03-25 11:02:13 +00:00
2018-09-13 11:04:56 +00:00
'templates' => array(
2020-03-13 07:22:26 +00:00
'small' => 'Webkul\Product\CacheFilters\Small',
2019-03-25 11:02:13 +00:00
'medium' => 'Webkul\Product\CacheFilters\Medium',
2020-03-13 07:22:26 +00:00
'large' => 'Webkul\Product\CacheFilters\Large',
2018-09-13 11:04:56 +00:00
),
/*
|--------------------------------------------------------------------------
| Image Cache Lifetime
|--------------------------------------------------------------------------
|
| Lifetime in minutes of the images handled by the imagecache route.
|
*/
2019-03-25 11:02:13 +00:00
2020-10-16 06:20:05 +00:00
'lifetime' => 525600,
2018-09-13 11:04:56 +00:00
2019-03-25 11:02:13 +00:00
);