Created
March 25, 2016 18:05
-
-
Save evercode1/11aeeaf48b8e1a3a2549 to your computer and use it in GitHub Desktop.
Chpater 10 5.2 image-defaults.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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