Skip to content

Commit

Permalink
Merge pull request #6 from LIS-CorneliusLink/master
Browse files Browse the repository at this point in the history
Add dynamicMetadata and enable rendering of CopyrightNotices in Neos
  • Loading branch information
robertlemke authored Jan 27, 2020
2 parents fc475d5 + ee5ee9b commit d766b21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Classes/AssetSource/PixxioAssetProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ static public function fromJsonObject(\stdClass $jsonObject, PixxioAssetSource $

$assetProxy->iptcProperties['Title'] = $jsonObject->subject ?? '';
$assetProxy->iptcProperties['CaptionAbstract'] = $jsonObject->description ?? '';
$assetProxy->iptcProperties['CopyrightNotice'] = $jsonObject->dynamicMetadata->CopyrightNotice ?? '';

$assetProxy->widthInPixels = $jsonObject->imageWidth ?? null;
$assetProxy->heightInPixels = $jsonObject->imageHeight ?? null;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Service/PixxioClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ final class PixxioClient
*/
private $fields = [
'id', 'originalFilename', 'fileType', 'keywords', 'createDate', 'imageHeight', 'imageWidth', 'originalPath', 'subject', 'description',
'modifyDate', 'fileSize', 'modifiedImagePaths', 'imagePath'
'modifyDate', 'fileSize', 'modifiedImagePaths', 'imagePath', 'dynamicMetadata'
];


Expand Down

0 comments on commit d766b21

Please sign in to comment.