-
Notifications
You must be signed in to change notification settings - Fork 80
Configuration options
You can configure Image by editing the options in the config/image.php
file.
Here is a list of all possible options:
-
Value:
'gd'
or'imagick'
or'gmagick'
-
Default:
'gd'
The driver that should be used by the Imagine library to manipulate the images.
--
- Value: string
-
Default:
''
The http host where the image are served. Used by the Image::url() method to generate the right URL.
--
- Value: array
-
Default:
array(public_path())
A list of directories to look for images
--
- Value: string
-
Default:
'-image({options})'
The URL parameter that will be appended to your image filename containing all the options for image manipulation. You have to put {options} where you want options to be placed. Keep in mind that this parameter is used in an url so all characters should be URL safe.
--
- Value: string
-
Default:
'-'
The URL parameter separator is used to build the parameters string that will replace {options} in url_parameter
--
- Value: boolean
-
Default:
true
If true, a route will automatically be added to catch request to image containing the URL parameter above.
--
- Value: boolean
-
Default:
false
Restrict options in url to custom filters only. This prevent direct manipulation of the image.
--
- Value: boolean
-
Default:
false
When serving an image, write the manipulated image in the same directory as the original image so the next request will serve this static file