https://github.com/nakamura196/mirador-rotation-plugin
mirador-rotation is a Mirador 3 plugin that enables the rotation of images at any angle.
https://github.com/nakamura196/mirador-rotation-plugin
iiif mirador mirador-3 mirador-4 mirador-plugins
Last synced: 14 days ago
JSON representation
mirador-rotation is a Mirador 3 plugin that enables the rotation of images at any angle.
- Host: GitHub
- URL: https://github.com/nakamura196/mirador-rotation-plugin
- Owner: nakamura196
- License: other
- Created: 2023-08-29T00:38:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-25T09:26:03.000Z (29 days ago)
- Last Synced: 2025-03-25T10:31:03.510Z (29 days ago)
- Topics: iiif, mirador, mirador-3, mirador-4, mirador-plugins
- Language: JavaScript
- Homepage: https://nakamura196.github.io/mirador-rotation-plugin/
- Size: 10.4 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Citation: CITATION.cff
Awesome Lists containing this project
README
# mirador-rotation

`mirador-rotation` is a [Mirador 4](https://github.com/projectmirador/mirador) plugin that enables the rotation of images at any angle.
## 🌐 Website
[Visit the demo page](https://nakamura196.github.io/mirador-rotation-plugin/) to try it out.
## 📖 Configuration
Several configuration options are available on windows that use mirador-rotation.
| Configuration | type | default | description |
| ----------------- | ------- | ------- | ----------------------------- |
| `rotationEnabled` | boolean | false | Enable the plugin to be shown |Example configuration:
```javascript
const config = {
id: "demo",
windows: [
{
rotationEnabled: true,
manifestId: "https://dl.ndl.go.jp/api/iiif/1286201/manifest.json",
},
],
};
```## 📖 Installing `mirador-rotation`
`mirador-rotation` requires an instance of Mirador 4. See the [Mirador wiki](https://github.com/ProjectMirador/mirador/wiki) for examples of embedding Mirador within an application. See the [live demo's index.js](https://github.com/nakamura196/mirador-rotation-plugin/blob/main/demo/src/index.js) for an example of importing the `mirador-rotation` plugin and configuring the adapter.
## 📣 Contribute
Mirador's development, design, and maintenance is driven by community needs and ongoing feedback and discussion. Join us at our regularly scheduled community calls, on [IIIF slack #mirador](http://bit.ly/iiif-slack), or the [mirador-tech](https://groups.google.com/forum/#!forum/mirador-tech) and [iiif-discuss](https://groups.google.com/forum/#!forum/iiif-discuss) mailing lists. To suggest features, report bugs, and clarify usage, please submit a GitHub issue.
## 🏅 Sponsors
[Become a sponsor](https://opencollective.com/mirador-rotation-plugin#sponsor)