Home
last modified time | relevance | path

Searched refs:mimeType (Results 1 – 5 of 5) sorted by relevance

/webtrees/resources/views/
H A Dmedia-page-details.phtml69 <?php if (explode('/', $media_file->mimeType())[0] === 'audio') : ?>
71 … <source src="<?= e($media_file->downloadUrl('inline')) ?>" type="<?= $media_file->mimeType() ?>">
73 <?php elseif (explode('/', $media_file->mimeType())[0] === 'video') : ?>
75 … <source src="<?= e($media_file->downloadUrl('inline')) ?>" type="<?= $media_file->mimeType() ?>">
/webtrees/app/
H A DMediaFile.php200 'type' => $this->mimeType(),
205 $image = view('icons/mime', ['type' => $this->mimeType()]);
208 'type' => $this->mimeType(),
264 return in_array($this->mimeType(), self::SUPPORTED_IMAGE_MIME_TYPES, true);
273 public function mimeType(): string function in Fisharebest\\Webtrees\\MediaFile
/webtrees/app/Factories/
H A DImageFactory.php86 $mime_type = $filesystem->mimeType(path: $path);
111 $mime_type = $filesystem->mimeType(path: $path);
146 $mime_type = $media_file->mimeType();
184 $mime_type = $filesystem->mimeType(path: $path);
207 … return $image->encodeByMediaType(type: $media_file->mimeType(), quality: $quality)->toString();
/webtrees/app/Http/RequestHandlers/
H A DManageMediaData.php133 $mime_type = Registry::filesystem()->data()->mimeType($path);
230 $mime_type = $data_filesystem->mimeType($row[0]) ?: Mime::DEFAULT_TYPE;
/webtrees/
H A Dphpstan-baseline.neon1942 message: '#^Parameter \#1 \$path of method League\\Flysystem\\FilesystemReader\:\:mimeType\(\) expects string, mixed given\.$#'