Lines Matching refs:media_file
110 <?php foreach ($media_object->mediaFiles() as $media_file) : ?>
111 … <?= $media_file->displayImage(300, 200, 'contain', ['class' => 'img-fluid']) ?>
114 <?php $media_file = $media_object->mediaFiles()->first() ?> variable
115 <?php if ($media_file instanceof MediaFile) : ?>
119 if ($media_file->type() !== '') {
121 … echo $element->labelValue($media_file->type(), $media_object->tree());
132 if ($media_file->isExternal()) {
133 …echo Registry::elementFactory()->make('OBJE:FILE')->labelValue($media_file->filename(), $media_obj…
134 } elseif ($media_file->fileExists()) {
136 …echo Registry::elementFactory()->make('OBJE:FILE')->labelValue($media_file->filename(), $media_obj…
138 … foreach ($media_file->attributes() as $label => $value) {
146 …s is a filename */ I18N::translate('The file “%s” does not exist.', e($media_file->filename())), '…