{"id":19640652,"url":"https://github.com/daniel-km/omeka-s-module-diva","last_synced_at":"2025-08-22T09:41:56.881Z","repository":{"id":148008281,"uuid":"166010138","full_name":"Daniel-KM/Omeka-s-module-Diva","owner":"Daniel-KM","description":"Omeka S module that integrates Diva, an advanced viewer, in order to display one or multiple images, local or remote, via the IIIF standard.","archived":false,"fork":false,"pushed_at":"2021-03-18T06:22:10.000Z","size":117,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-09T18:57:58.787Z","etag":null,"topics":["diva","iiif","omeka-s-module","omekas-s","viewer"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Daniel-KM.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-01-16T09:15:41.000Z","updated_at":"2021-03-18T06:22:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"6feb3803-b850-41fb-93f7-bf4717ced78e","html_url":"https://github.com/Daniel-KM/Omeka-s-module-Diva","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daniel-KM%2FOmeka-s-module-Diva","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daniel-KM%2FOmeka-s-module-Diva/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daniel-KM%2FOmeka-s-module-Diva/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daniel-KM%2FOmeka-s-module-Diva/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Daniel-KM","download_url":"https://codeload.github.com/Daniel-KM/Omeka-s-module-Diva/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240947648,"owners_count":19883030,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["diva","iiif","omeka-s-module","omekas-s","viewer"],"created_at":"2024-11-11T14:06:21.850Z","updated_at":"2025-02-26T22:45:15.351Z","avatar_url":"https://github.com/Daniel-KM.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Diva Viewer (module for Omeka S)\n================================\n\n\u003e __New versions of this module and support for Omeka S version 3.0 and above\n\u003e are available on [GitLab], which seems to respect users and privacy better\n\u003e than the previous repository.__\n\n[Diva Viewer] is a module for [Omeka S] that integrates [Diva], a Document Image\nViewer with AJAX, that is an advanced online viewer for images, so it can\ndisplay books, images, maps, etc. via the [IIIF] standard.\n\n[Diva] is a web-based document viewer optimized for high-resolution image\ncollections. Using Diva you can display your images at the largest resolution.\nIt has a full API and plugin system to help integrate and extend Diva to suit\nyour needs.\n\nIt uses the resources of any [IIIF] compliant server. The full specification of\nthe \"International Image Interoperability Framework\" standard is supported\n(level 2). If you don’t have an IIIF-compatible image server, like [Cantaloupe]\nor [IIP Image] server, Omeka S can be one! Just install the module [IIIF Server]\nand [Image Server].\n\nIt’s a lighter and themable alternative to the [Universal Viewer] or the [Mirador Viewer].\n\nNote: unlike Universal Viewer and Mirador, Diva uses always the tiles. So if you\nuse the module IIIF server as image server, all images should be tiled first,\nelse the display of images may be slow.\n\nFurthermore, the current module doesn’t not support collections.\n\n\nInstallation\n------------\n\nThe module uses an external js library [Diva], so use the release zip to\ninstall it, or use and init the source.\n\n* From the zip\n\nDownload the last release [Diva.zip] from the list of releases (the master does\nnot contain the dependency), and uncompress it in the `modules` directory.\n\n* From the source and for development:\n\nIf the module was installed from the source, rename the name of the folder of\nthe module to `Diva`, and go to the root module, and run:\n\n```sh\ncomposer install --no-dev\n```\n\nThen install it like any other Omeka module.\n\n* Access to IIIF images\n\nDiva viewer is based on IIIF, so an image server compliant with this protocol is\nrequired to use it. So, install the module [Image Server] if needed.\n\nIf you need to display big images (bigger than 1 to 10 MB according to your\nserver, your network, and your users), use an external image server, or create\ntiles with [Image Server]. The tiling means that big images like maps and deep\npaintings, and any other images, are converted into tiles in order to load and\nzoom them instantly.\n\n\nUsage\n-----\n\n### Configuration\n\nThe url of the manifest of the items should be set inside the property specified\nin the config form of the module. If you don’t have an IIIF Server, install the\nmodule [IIIF Server].\n\nTo config Diva:\n\n- via the theme of the site: copy file `view/common/helper/diva.phtml` in your\n  theme and customize it;\n- via the theme of the site and the assets (`asset/vendor/diva`).\n\n### Display\n\nIf the [IIIF Server] is installed, all resources of Omeka S are automatically\navailable by the viewer, else the url of the manifest should be set in the\nconfigured property.\n\nThe viewer is always available at `http://www.example.com/item/{item id}/diva`.\nFurthermore, it is automatically embedded \"item/{id}\" show and/or browse pages.\nThis can be disabled in the settings of the site. Finally, a block layout is\navailable to add the viewer in any standard page.\n\nTo embed Diva somewhere else, just use the helper:\n\n```php\n    // Display the viewer with the specified item set.\n    // The module doesn’t support this feature currently.\n    // echo $this-\u003ediva($itemSet);\n\n    // Display the viewer with the specified item and specified options.\n    // The options for Diva are directly passed to the partial, so they are\n    // available in the theme and set for the viewer.\n    echo $this-\u003ediva($item, $options);\n\n    // Display multiple resources (items and/or item sets).\n    // The module doesn’t support this feature currently.\n    // echo $this-\u003ediva($resources);\n```\n\n\nWarning\n-------\n\nUse it at your own risk.\n\nIt’s always recommended to backup your files and your databases and to check\nyour archives regularly so you can roll back if needed.\n\n\nTroubleshooting\n---------------\n\nSee online issues on the [module issues] page on GitLab.\n\n\nLicense\n-------\n\nThis module is published under the [CeCILL v2.1] license, compatible with\n[GNU/GPL] and approved by [FSF] and [OSI].\n\nIn consideration of access to the source code and the rights to copy, modify and\nredistribute granted by the license, users are provided only with a limited\nwarranty and the software’s author, the holder of the economic rights, and the\nsuccessive licensors only have limited liability.\n\nIn this respect, the risks associated with loading, using, modifying and/or\ndeveloping or reproducing the software by the user are brought to the user’s\nattention, given its Free Software status, which may make it complicated to use,\nwith the result that its use is reserved for developers and experienced\nprofessionals having in-depth computer knowledge. Users are therefore encouraged\nto load and test the suitability of the software as regards their requirements\nin conditions enabling the security of their systems and/or data to be ensured\nand, more generally, to use and operate it in the same conditions of security.\nThis Agreement may be freely reproduced and published, provided it is not\naltered, and that no provisions are either added or removed herefrom.\n\n[Diva] is published under the [ISC] licence.\n\n\nCopyright\n---------\n\nWidget [Diva]:\n\n* See https://ddmal.github.io/diva.js/about\n\nModule Diva for Omeka S:\n\n* Copyright Daniel Berthereau, 2018-2021\n\nThis project was supported in part by the University of California Office of the President MRPI funding MR-15-328710.\n\n\n[Diva Viewer]: https://gitlab.com/Daniel-KM/Omeka-S-module-Diva\n[Diva]: https://ddmal.github.io/diva.js\n[Omeka S]: https://omeka.org/s\n[Omeka]: https://omeka.org\n[IIIF Server]: https://gitlab.com/Daniel-KM/Omeka-S-module-IiifServer\n[Image Server]: https://gitlab.com/Daniel-KM/Omeka-S-module-ImageServer\n[IIIF]: http://iiif.io\n[Cantaloupe]: https://cantaloupe-project.github.io\n[IIP Image]: http://iipimage.sourceforge.net\n[Universal Viewer]: https://gitlab.com/Daniel-KM/Omeka-S-module-UniversalViewer\n[Mirador Viewer]: https://gitlab.com/Daniel-KM/Omeka-S-module-Mirador\n[Diva.zip]: https://gitlab.com/Daniel-KM/Omeka-S-module-Diva/-/releases\n[iiif specifications]: http://iiif.io/api/\n[module issues]: https://gitlab.com/Daniel-KM/Omeka-S-module-Diva/-/issues\n[CeCILL v2.1]: https://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html\n[GNU/GPL]: https://www.gnu.org/licenses/gpl-3.0.html\n[FSF]: https://www.fsf.org\n[OSI]: http://opensource.org\n[ISC]: https://www.isc.org/downloads/software-support-policy/isc-license/\n[GitLab]: https://gitlab.com/Daniel-KM\n[Daniel-KM]: https://gitlab.com/Daniel-KM \"Daniel Berthereau\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniel-km%2Fomeka-s-module-diva","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaniel-km%2Fomeka-s-module-diva","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniel-km%2Fomeka-s-module-diva/lists"}