subugoe/iiif-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

subugoe/iiif-bundle

最新稳定版本:0.13.1

Composer 安装命令:

composer require subugoe/iiif-bundle

包简介

IIIF Bundle for symfony

README 文档

README

This is a Symfony 5.x/6.x Bundle to get an IIIF Representation out of arbitrary data structures.

Example configuration

subugoe_iiif:
  image:
    http:
        scheme:           "https"
        host:             "images.example.com"
    tile_width:           512
    thumbnail_size:       "96,"
    zoom_levels:          [1, 2, 4, 8, 16]
  presentation:
    logo:                 "http://service.example.com/fileadmin/gdz/layout/head_logo.jpg"
    service_id:           "http://service.exmple.com/"
    http:
        scheme:           "https"
        host:             "manifests.example.com"

Format translator

It is also necessary to define a so-called translator-service with the name subugoe_iiif.translator, i.e.:

  Subugoe\IIIFBundle\Translator\TranslatorInterface:
    class:      Subugoe\IIIFBundle\Translator\SubugoeTranslator
    arguments:  ["@subugoe_find.search_service"]

The translator has to implement the Subugoe\IIIFBundle\Translator\TranslatorInterface. An example translator is bundled, see the SubugoeTranslator class.

File systems

This bundle uses Flysystem, for retrieving and storing (a.k.a. caching) the tiles and thumbnails. If caching should not be enabled the Null Adapter should be used. Please have a look at the FlysystemBundle documentation for the configuration options and available bundles. The adapter that fits to your needs has to be required in the main composer manifest of your application.

Please note, that two flysystem services need to exist and one has to be named cache_filesystem to be used as cache filesystem. The source filesystem (where the original scans reside) has to be aliased or named source_filesystem.

统计信息

  • 总下载量: 5.37k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: AGPL-3.0-or-later
  • 更新时间: 2017-02-27