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

License Property Configuration on module don't work #10

Closed psalido closed 4 years ago

psalido commented 5 years ago

License property selected at module configuration is ignored (tested on version 3.5.14) . Default value is show in manifest everytime. I fixed quickly with this fast changes on Helper/IiifManifest.php

(starting at line 141)

       $licenseProperty = $this->view->setting('iiifserver_manifest_license_property');

        if ($licenseProperty) {
            $license = $item->value($licenseProperty);
            $license = strip_tags($license);
        }
Daniel-KM commented 4 years ago

Fixed.