| @@ -78,22 +78,22 @@ | ||
| 78 | 78 | } | 
| 79 | 79 | }); | 
| 80 | 80 | $this->data = [ | 
| 81 | - 'file' => '', // absolute file path | |
| 82 | - 'files' => [], // array of files path (if bundle) | |
| 83 | - 'filename' => '', // filename | |
| 84 | - 'path_source' => '', // public path to the file, before transformations | |
| 85 | - 'path' => '', // public path to the file, after transformations | |
| 86 | - 'url' => null, // URL of a remote image | |
| 81 | + 'file' => '', // absolute file path | |
| 82 | + 'files' => [], // array of files path (if bundle) | |
| 83 | + 'filename' => '', // filename | |
| 84 | + 'path_source' => '', // public path to the file, before transformations | |
| 85 | + 'path' => '', // public path to the file, after transformations | |
| 86 | + 'url' => null, // URL of a remote image | |
| 87 | 87 | 'missing' => false, // if file not found, but missing ollowed 'missing' is true | 
| 88 | - 'ext' => '', // file extension | |
| 89 | - 'type' => '', // file type (e.g.: image, audio, video, etc.) | |
| 90 | - 'subtype' => '', // file media type (e.g.: image/png, audio/mp3, etc.) | |
| 91 | - 'size' => 0, // file size (in bytes) | |
| 92 | - 'content_source' => '', // file content, before transformations | |
| 93 | - 'content' => '', // file content, after transformations | |
| 94 | - 'width' => 0, // width (in pixels) in case of an image | |
| 95 | - 'height' => 0, // height (in pixels) in case of an image | |
| 96 | - 'exif' => [], // exif data | |
| 88 | + 'ext' => '', // file extension | |
| 89 | + 'type' => '', // file type (e.g.: image, audio, video, etc.) | |
| 90 | + 'subtype' => '', // file media type (e.g.: image/png, audio/mp3, etc.) | |
| 91 | + 'size' => 0, // file size (in bytes) | |
| 92 | + 'content_source' => '', // file content, before transformations | |
| 93 | + 'content' => '', // file content, after transformations | |
| 94 | + 'width' => 0, // width (in pixels) in case of an image | |
| 95 | + 'height' => 0, // height (in pixels) in case of an image | |
| 96 | + 'exif' => [], // exif data | |
| 97 | 97 | ]; | 
| 98 | 98 | |
| 99 | 99 | // handles options |