NYPL-publicdomain/data-and-utilities

CORS enabling for NYPL image server

anshikam opened this issue · 2 comments

I am trying to use the NYPL DIgital Collections API in an Alexa Skill I am building. This skill searches what a user says over the public domain and returns an item image in a card inside the Alexa app. Amazon requires that the server hosting the images should be CORS-enabled. Right now I have trouble displaying the images using the image links provided in the API response. Is the NYPL image server CORS enabled?

emu47 commented

Unfortunately, it is not CORS-enabled, and it is unlikely to be changed in the near future.