Lines Matching full:file
223 ->map(static fn (string $file): array => (array) $file);
251 …file" data-file="' . e($tmp) . '" data-url="' . e(route(CreateMediaObjectFromFile::class, ['tree' …
331 * Generate some useful information and links about a media file.
334 * @param string $file
338 private function mediaFileInfo(FilesystemOperator $data_filesystem, string $file): string argument
342 $html .= '<dd>' . e($file) . '</dd>';
345 $file_exists = $data_filesystem->fileExists($file);
352 $size = $data_filesystem->fileSize($file);
357 /* I18N: size of file in KB */
359 $html .= '<dt>' . I18N::translate('File size') . '</dt>';
364 // need to copy the file locally to work out the image size.
365 $imgsize = getimagesizefromstring($data_filesystem->read($file));