wcmaart / getThumb

Get an eMuseum image from an Object ID, via IIIF
0 stars 0 forks source link

IIIF manifest URL wrong? #1

Open apjmason opened 2 years ago

apjmason commented 2 years ago

Thanks for making this great service available!

The herokuapp thumbnail service mentioned on the wcmaart/collection repository readme doesn't seem to be working at the given URL https://get-thumb.herokuapp.com/getThumb.php?objectid=XXX

E.g. https://get-thumb.herokuapp.com/getThumb.php?objectid=2 returns "no thumbnail found for this object" when there should in fact be a thumbnail according to the collection data.

Comparing the IIIF manifest URL in the script in this repo to the one linked from the live collection website, it appears that the objects path is off.

getThumb.php line 6 has http://egallery.williams.edu/apis/iiif/presentation/v2/objects-" . $myID . "/manifest

Where the IIIF link on the egallery site has 'http://egallery.williams.edu/apis/iiif/presentation/v2/1-objects-2/manifest'

Replace v2/objects with v2/1-objects?

cweinard commented 2 years ago

Thanks for your interest! I just made that quick change and deployed to Heroku, but I'm afraid it's still not finding the thumbnail. Will require some debugging, I'm afraid. I'll get in touch with the WCMA team and update here when we know more.