digirati-co-uk / iiif-php Goto Github PK
View Code? Open in Web Editor NEWIIIF library for PHP
IIIF library for PHP
Canvases can have "otherContent" field that produce annotation lists. This will probably be similar to the W3C annotation list from Elucidate.
example:
{
"service": {
"Average_confidence": 83,
"Entity_stats": {
"ORG": "2"
},
"Full_text_length": 135,
"Spelling_accuracy": 100,
"Total_entities_found": 2,
"Typescript": true,
"@context": "https:\/\/dlcs-ida.org\/ocr-info"
},
"otherContent": [
{
"@id": "https:\/\/transcriptions.dlcs-ida.org\/annotations\/line\/?width=2576&canvas=https%3A%2F%2Fpresley.dlcs-ida.org%2Fiiif%2Fidatest01%2F_roll_M-1473_18_cvs-2-11%2Fcanvas%2Fc2&image=https%3A%2F%2Fdlcs-ida.org%2Fiiif-img%2F2%2F1%2FM-1473_R-18_0003&height=3328",
"@type": "sc:AnnotationList",
"label": "Transcription annotations"
},
{
"@id": "https:\/\/annotations.dlcs-ida.org\/annotationlist\/ac98c286ef37ffc691709762b53be9d1\/",
"@type": "sc:AnnotationList",
"label": "Named Entity Extraction Annotations"
}
]
}
Hey fabulous IIIF developers,
We're working with the Folger Shakespeare Library in DC on a project implementing an IIIF api for their digital asset repository. We'd love to chat with you all about your work here and see if we can join in contributing or what not. Is there a way we can learn a little more about this project or peep some documentation for how you all are using this library?
Thanks!
You can choose a canvas by id or number, but not loop through the all!
Currently if you want to customise how lazy manifests are loaded you have to do it in two steps:
$collection = Collection::fromArray(
fetchJson($collectionUrl)
);
$collection->setManifestLoader(function($url) {
fetchJson($url);
});
It would be nice to be able to combine these steps.
The PP uses defined image sizes sm / md / lg
would be good to inherit this information / setup this information n the module config so image sizes remain consistent and I can say image.full('sm') in the templates :D
Using regions, find ways to request small, medium and large thumbnails.
Applications usually add more information to Manifests, Collections, Images etc.
It would be nice to have a standard way of adding and accessing this meta. Ideally:
$collection->mapManifests(function($manifest) {
return $manifest->withMetadata(['omekaId' => 123]);
});
// ...somewhere else
$manifest->omekaId; // yields 123
// Alternatively
$manifest->getMetadata('omekaId');
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.