Coder Social home page Coder Social logo

IIIF image issue about dezoomify-rs HOT 6 CLOSED

lovasoa avatar lovasoa commented on May 28, 2024
IIIF image issue

from dezoomify-rs.

Comments (6)

awtur avatar awtur commented on May 28, 2024 2

@MrChrisWin
On any page with the zoomable artwork, open the Chrome browser Developer Tools, go to Network Activity, and within the "All" tab, find and click on "default.jpg". Under the Request Headers, look for "x-jstor-access-session". Below is an example of how I use it with dezoomify.

dezoomify-rs -H "x-jstor-access-session: H4sIAAAAAAAAAJWTS2-bQBSF9_kViHWw5s1MV7WJI3WTRLazqK…3Kyj0_vpbVz8fbm9Fb-RLJPJq05Pughd0UF4ff89tBN8UEAAA" https://stor.artstor.org/iiif/fpx/sslps/c7731863/18890801.fpx/info.json "Ben Shahn illustrations/untitled _0.jpg"

from dezoomify-rs.

lovasoa avatar lovasoa commented on May 28, 2024

Hello,

dezoomify-rs -H "HeaderName: HeaderValue" my-url

from dezoomify-rs.

awtur avatar awtur commented on May 28, 2024

Thank you! Just had to specify full/full/
Honestly had no idea those wiki pages existed. Thanks for all the work you put into documenting this!
I would add a link in the ReadMe to refer readers to the older dezoomify wiki.

from dezoomify-rs.

lovasoa avatar lovasoa commented on May 28, 2024

You're right, I will do that

from dezoomify-rs.

awtur avatar awtur commented on May 28, 2024

Hi again. The full jpg approach is now giving 401 errors, however I found the appropriate header (access cookie) to add before the json URL for authorization, so the dezoomify option works. Do you know if this cookie can also be appended to the .jpg URL or somehow embedded into the browser? (something like ...full/full/default.jpg?cookie=...). I looked at the IIIF protocol, but couldn't identify a solution like this.

from dezoomify-rs.

MrChrisWin avatar MrChrisWin commented on May 28, 2024

Hi again. The full jpg approach is now giving 401 errors, however I found the appropriate header (access cookie) to add before the json URL for authorization, so the dezoomify option works. Do you know if this cookie can also be appended to the .jpg URL or somehow embedded into the browser? (something like ...full/full/default.jpg?cookie=...). I looked at the IIIF protocol, but couldn't identify a solution like this.

Autur, where did you find the access cookie and how did you modify the url path? Thanks.

from dezoomify-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.