Skip to content

Commit 88148ee

Browse files
committedJun 4, 2024·
Add in method to build manifest URL.
1 parent 70cfd6d commit 88148ee

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎src/Iiif/IiifImage.php

+7
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ class IiifImage extends IiifBase {
1919
*/
2020
protected $thumbHeight = 200;
2121

22+
/**
23+
* Build the full manifest URL.
24+
*/
25+
public function getManifestUrl() {
26+
return implode("/", [$this->server, $this->prefix, $this->iiifId, "info.json"]);
27+
}
28+
2229
/**
2330
*
2431
*/

0 commit comments

Comments
 (0)
Please sign in to comment.