| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213 | 
							- <?php
 - 
 - return [
 - 
 -     'image_manipulation' => [
 - 
 -         /*
 -         |--------------------------------------------------------------------------
 -         | Route Prefix
 -         |--------------------------------------------------------------------------
 -         |
 -         | The route prefix for serving HTTP based manipulated images through Glide.
 -         | If using the cached option, this should be the URL of the cached path.
 -         |
 -         */
 - 
 -         'route' => 'img',
 - 
 -         /*
 -         |--------------------------------------------------------------------------
 -         | Require Glide security token
 -         |--------------------------------------------------------------------------
 -         |
 -         | With this option enabled, you are protecting your website from mass image
 -         | resize attacks. You will need to generate tokens using the Glide tag
 -         | but may want to disable this while in development to tinker.
 -         |
 -         */
 - 
 -         'secure' => true,
 - 
 -         /*
 -         |--------------------------------------------------------------------------
 -         | Image Manipulation Driver
 -         |--------------------------------------------------------------------------
 -         |
 -         | The driver that will be used under the hood for image manipulation.
 -         | Supported: "gd" or "imagick" (if installed on your server)
 -         |
 -         */
 - 
 -         'driver' => 'gd',
 - 
 -         /*
 -         |--------------------------------------------------------------------------
 -         | Additional Image Extensions
 -         |--------------------------------------------------------------------------
 -         |
 -         | Define any additional image file extensions you would like Statamic to
 -         | process. You should ensure that both your server and the selected
 -         | image manipulation driver properly supports these extensions.
 -         |
 -         */
 - 
 -         'additional_extensions' => [
 -             // 'heic',
 -         ],
 - 
 -         /*
 -         |--------------------------------------------------------------------------
 -         | Save Cached Images
 -         |--------------------------------------------------------------------------
 -         |
 -         | Enabling this will make Glide save publicly accessible images. It will
 -         | increase performance at the cost of the dynamic nature of HTTP based
 -         | image manipulation. You will need to invalidate images manually.
 -         |
 -         */
 - 
 -         'cache' => false,
 -         'cache_path' => public_path('img'),
 - 
 -         /*
 -         |--------------------------------------------------------------------------
 -         | Image Manipulation Defaults
 -         |--------------------------------------------------------------------------
 -         |
 -         | You may define global defaults for all manipulation parameters, such as
 -         | quality, format, and sharpness. These can and will be be overwritten
 -         | on the tag parameter level as well as the preset level.
 -         |
 -         */
 - 
 -         'defaults' => [
 -             // 'quality' => 50,
 -         ],
 - 
 -         /*
 -         |--------------------------------------------------------------------------
 -         | Image Manipulation Presets
 -         |--------------------------------------------------------------------------
 -         |
 -         | Rather than specifying your manipulation params in your templates with
 -         | the glide tag, you may define them here and reference their handles.
 -         | They may also be automatically generated when you upload assets.
 -         | Containers can be configured to warm these caches on upload.
 -         |
 -         */
 - 
 -         'presets' => [
 -             // 'small' => ['w' => 200, 'h' => 200, 'q' => 75, 'fit' => 'crop'],
 -         ],
 - 
 -         /*
 -         |--------------------------------------------------------------------------
 -         | Generate Image Manipulation Presets on Upload
 -         |--------------------------------------------------------------------------
 -         |
 -         | By default, presets will be automatically generated on upload, ensuring
 -         | the cached images are available when they are first used. You may opt
 -         | out of this behavior here and have the presets generated on demand.
 -         |
 -         */
 - 
 -         'generate_presets_on_upload' => true,
 - 
 -         /*
 -         |--------------------------------------------------------------------------
 -         | Append Original Filename
 -         |--------------------------------------------------------------------------
 -         |
 -         | Append the original filename to Glide generated URLs. 
 -         | This helps with Search Engine Optimization.
 -         |
 -         */
 - 
 -         'append_original_filename' => true,
 - 
 -     ],
 - 
 -     /*
 -     |--------------------------------------------------------------------------
 -     | Auto-Crop Assets
 -     |--------------------------------------------------------------------------
 -     |
 -     | Enabling this will make Glide automatically crop assets at their focal
 -     | point (which is the center if no focal point is defined). Otherwise,
 -     | you will need to manually add any crop related parameters.
 -     |
 -     */
 - 
 -     'auto_crop' => true,
 - 
 -     /*
 -     |--------------------------------------------------------------------------
 -     | Control Panel Thumbnail Restrictions
 -     |--------------------------------------------------------------------------
 -     |
 -     | Thumbnails will not be generated for any assets any larger (in either
 -     | axis) than the values listed below. This helps prevent memory usage
 -     | issues out of the box. You may increase or decrease as necessary.
 -     |
 -     */
 - 
 -     'thumbnails' => [
 -         'max_width' => 10000,
 -         'max_height' => 10000,
 -     ],
 - 
 -     /*
 -     |--------------------------------------------------------------------------
 -     | File Previews with Google Docs
 -     |--------------------------------------------------------------------------
 -     |
 -     | Filetypes that cannot be rendered with HTML5 can opt into the Google Docs
 -     | Viewer. Google will get temporary access to these files so keep that in
 -     | mind for any privacy implications: https://policies.google.com/privacy
 -     |
 -     */
 - 
 -     'google_docs_viewer' => false,
 - 
 -     /*
 -     |--------------------------------------------------------------------------
 -     | Cache Metadata
 -     |--------------------------------------------------------------------------
 -     |
 -     | Asset metadata (filesize, dimensions, custom data, etc) will get cached
 -     | to optimize performance, so that it will not need to be constantly
 -     | re-evaluated from disk. You may disable this option if you are
 -     | planning to continually modify the same asset repeatedly.
 -     |
 -     */
 - 
 -     'cache_meta' => true,
 - 
 -     /*
 -     |--------------------------------------------------------------------------
 -     | Focal Point Editor
 -     |--------------------------------------------------------------------------
 -     |
 -     | When editing images in the Control Panel, there is an option to choose
 -     | a focal point. When working with third-party image providers such as
 -     | Cloudinary it can be useful to disable Statamic's built-in editor.
 -     |
 -     */
 - 
 -     'focal_point_editor' => true,
 - 
 -     /*
 -     |--------------------------------------------------------------------------
 -     | Enforce Lowercase Filenames
 -     |--------------------------------------------------------------------------
 -     |
 -     | Control whether asset filenames will be converted to lowercase when
 -     | uploading and renaming. This can help you avoid file conflicts
 -     | when working in case-insensitive filesystem environments.
 -     |
 -     */
 - 
 -     'lowercase' => true,
 - 
 - ];
 
 
  |