-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this module usable in Drupal 8? #2
Comments
Yes, though I'm not sure how much testing has been done so your mileage may vary 😄 . |
I got some errors going into the configuration pages for the module, (nothing of the page displayed) I'm using 8.4.2. This occurred in four places in the code. For grins and giggles, I change the four places to: Curious, in using the field formatter, what field type is used for a file upload and which type is used for a URL for iiif? |
@ebremer sorry this was built in Drupal 8.2 and I keep forgetting how fast they are moving. I'll try to update it to match the latest changes. As for your other question, we get the URI here from the file on the filesystem. So this might not work as a formatter for a URI to an alternate IIIF server...that is a good point though never thought of that. |
So, in your set-up, is your Drupal and iiif server on the same system? |
Yes, currently we are using Cantaloupe running locally for development purposes. You can see the entire system here https://github.com/Islandora-Devops/claw-playbook |
So you use Drupal as the image uploader and display engine (using OSD) and Cantaloupe as the image tiling engine (iiif)? |
I think that is correct, but I'll be honest I'm fairly new to this. That being said I can see your use case and how you could alter this to check the field type. This field formatter is only meant for image and file types and I don't think you would have a Url in an image field. So we would need to expand it to cover a Url field. |
I am working with gigapixel images. The URI would be for an image on a iiif-type server, in my case, IIP. Having the ability to include local and remote images would be very handy. |
We use OpenSeadragon now to access remote images via iiif protocol, but dropping OpenSeadragon into the context of Drupal would have many benefits which is what brought me to your module in the first place. |
Cool, I'll see if I can dedicate some time to that. No guarantees in the short term, but if I get something working I'll ping you to test it out. |
To answer this question (several years later) we now provide a block that takes (when placed) an IIIF manifest. For our uses, we often provide it Here's an example of it working with the manifest at https://digital.library.villanova.edu/Item/vudl:92879/Manifest However some other manifests manifestly don't work. For example, https://iiif.europeana.eu/presentation/9200396/BibliographicResource_3000118436165/manifest yeilds "Unable to load TileSource". I can not figure out how to set this up to debug javascript to figure out why that manifest doesn't work. |
Is this module usable in Drupal 8?
The text was updated successfully, but these errors were encountered: