Advertisement
Guest User

Untitled

a guest
Aug 4th, 2017
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.97 KB | None | 0 0
  1. return array(
  2.  
  3.     /*
  4.     |--------------------------------------------------------------------------
  5.     | Name of route
  6.     |--------------------------------------------------------------------------
  7.     |
  8.     | Enter the routes name to enable dynamic imagecache manipulation.
  9.     | This handle will define the first part of the URI:
  10.     |
  11.     | {route}/{template}/{filename}
  12.     |
  13.     | Examples: "images", "img/cache"
  14.     |
  15.     */
  16.    
  17.     'route' => 'images',
  18.  
  19.     /*
  20.     |--------------------------------------------------------------------------
  21.     | Storage paths
  22.     |--------------------------------------------------------------------------
  23.     |
  24.     | The following paths will be searched for the image filename, submited
  25.     | by URI.
  26.     |
  27.     | Define as many directories as you like.
  28.     |
  29.     */
  30.    
  31.     'paths' => array(
  32.         storage_path(YOUR_PATH_HERE)
  33.     ),
  34.  
  35.     /*
  36.     |--------------------------------------------------------------------------
  37.     | Manipulation templates
  38.     |--------------------------------------------------------------------------
  39.     |
  40.     | Here you may specify your own manipulation filter templates.
  41.     | The keys of this array will define which templates
  42.     | are available in the URI:
  43.     |
  44.     | {route}/{template}/{filename}
  45.     |
  46.     | The values of this array will define which filter class
  47.     | will be applied, by its fully qualified name.
  48.     |
  49.     */
  50.    
  51.     'templates' => array(
  52.         'small' => 'Intervention\Image\Templates\Small',
  53.         'medium' => 'Intervention\Image\Templates\Medium',
  54.         'large' => 'Intervention\Image\Templates\Large',
  55.     ),
  56.  
  57.     /*
  58.     |--------------------------------------------------------------------------
  59.     | Image Cache Lifetime
  60.     |--------------------------------------------------------------------------
  61.     |
  62.     | Lifetime in minutes of the images handled by the imagecache route.
  63.     |
  64.     */
  65.    
  66.     'lifetime' => 43200,
  67.  
  68. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement