Skip to content

Instantly share code, notes, and snippets.

@evercode1
Created March 25, 2016 18:05
Show Gist options
  • Save evercode1/11aeeaf48b8e1a3a2549 to your computer and use it in GitHub Desktop.
Save evercode1/11aeeaf48b8e1a3a2549 to your computer and use it in GitHub Desktop.
Chpater 10 5.2 image-defaults.php
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Image Paths and Settings
|--------------------------------------------------------------------------
|
|
| We set the config here so that we can keep our controllers clean.
| Configure each image type with an image path.
|
*/
'marketingImage' => [
'destinationFolder' => '/imgs/marketing/',
'destinationThumbnail' => '/imgs/marketing/thumbnails/',
'thumbPrefix' => 'thumb-',
'imagePath' => '/imgs/marketing/',
'thumbnailPath' => '/imgs/marketing/thumbnails/thumb-',
'thumbHeight' => 60,
'thumbWidth' => 60,
],
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment