Daniel-KM / Omeka-S-module-IiifServer

IIIF Server is a module for Omeka S that adds the IIIF specifications to serve any images and medias.
Other
17 stars 11 forks source link

Exception, when API-Call is to long #20

Closed m-art-in closed 4 years ago

m-art-in commented 4 years ago

I have just opened an issue on the Universal viewer. My problem is if the URL is too long. Could it be possible to parameterize the API call instead of separating items with commas, so Apache doesn't generate an error message?

Daniel-KM commented 4 years ago

It is included in the next version that will be published in some days.

m-art-in commented 4 years ago

Great! Thank you so much.

Do I have to change my code for calling uv?

Daniel-KM commented 4 years ago

No, it's the same.

Daniel-KM commented 4 years ago

But if needed, the route for dynamic collection is now:

$urlManifest = $this->url('iiifserver/set', [], [
    'query' => ['id' => $identifiers],
    'force_canonical' => true,
]);