Skip to content
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

openseadragon.min.css is needed #2471

Open
dusko23 opened this issue Feb 10, 2024 · 6 comments
Open

openseadragon.min.css is needed #2471

dusko23 opened this issue Feb 10, 2024 · 6 comments
Labels

Comments

@dusko23
Copy link

dusko23 commented Feb 10, 2024

Hi, I have downloaded distribution files and I am using openseadragon.min.js locally.
However, I did not find a file openseadragon.min.css
Could anybody tell if Openseadragon.min.css is available as a file?

@pearcetm
Copy link
Contributor

There is no css file needed for the OpenSeadragon library - all necessary styling on the created elements is done inline by the javascript file.

@dusko23
Copy link
Author

dusko23 commented Feb 10, 2024

Thank you for your answer.
I have removed

and now I don't see icons:

image

@pearcetm
Copy link
Contributor

You need to specify where the images for the buttons are found using the prefixUrl option. See https://openseadragon.github.io/docs/OpenSeadragon.html#.Options. These can be downloaded (see https://openseadragon.github.io/docs/ and https://openseadragon.github.io/#download) or you can give it a URL to a CDN.

@dusko23
Copy link
Author

dusko23 commented Feb 10, 2024

Thanks, will do that.

@dusko23
Copy link
Author

dusko23 commented Feb 10, 2024

Is it possible to keep images needed by prefixURL locally? Like in a folder on a local computer for pure local testing?
Later, images will be uploaded to the server.

@iangilman
Copy link
Member

@dusko23 Yes, you can download the images at the link @pearcetm gave above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants