diff --git a/src/lib/API/ContentData/FieldTypeData/ImageDataProvider.php b/src/lib/API/ContentData/FieldTypeData/ImageDataProvider.php index 02d05a4..9cabed5 100644 --- a/src/lib/API/ContentData/FieldTypeData/ImageDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/ImageDataProvider.php @@ -48,7 +48,7 @@ public function generateData(string $contentTypeIdentifier, string $fieldIdentif return new Value( [ - 'path' => $filePath, + 'inputUri' => $filePath, 'fileSize' => filesize($filePath), 'fileName' => basename($filePath), 'alternativeText' => $this->getFaker()->text, @@ -62,7 +62,7 @@ public function parseFromString(string $value) return new Value( [ - 'path' => $filePath, + 'inputUri' => $filePath, 'fileSize' => filesize($value), 'fileName' => basename($value), 'alternativeText' => basename($value),