Skip to content

Commit

Permalink
Fix Service for thumbnails and provide an ID
Browse files Browse the repository at this point in the history
  • Loading branch information
ipf authored Oct 16, 2019
1 parent 2608a8a commit 0858d8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Service/PresentationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ private function getThumbnail(\Subugoe\IIIFModel\Model\Document $document): Imag

$thumbnail = new Image();
$thumbnailService = new Service();
$thumbnailService->setId($this->router->generate('subugoe_iiif_manifest', ['id' => $document->getId()]));

$thumbnailParameters = [
'identifier' => $document->getPhysicalStructure(0)->getIdentifier(),
Expand Down

0 comments on commit 0858d8e

Please sign in to comment.