subugoe / iiif-bundle
IIIF Bundle for symfony
Installs: 5 029
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 4
Forks: 1
Open Issues: 0
Requires
- php: ^7.4 || ^8.0
- ext-gd: *
- ext-imagick: *
- jms/serializer-bundle: ^4.0
- league/flysystem: ^2.4 || ^3.0
- liip/imagine-bundle: ^2.0
- myclabs/php-enum: ^1.7
- subugoe/iiif-model: ^0.2
- xantios/mimey: ^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- league/flysystem-memory: ^2.0
- phpunit/phpunit: ^9.5
- dev-master
- dev-main
- 0.13.1
- 0.13.0
- 0.12.0
- 0.11.10
- 0.11.9
- 0.11.8
- 0.11.7
- 0.11.6
- 0.11.5
- 0.11.4
- 0.11.3
- 0.11.2
- 0.11.1
- 0.11.0
- 0.10.7
- 0.10.6
- 0.10.5
- 0.10.4
- 0.10.3
- 0.10.2
- 0.10.1
- 0.10.0
- 0.9.7
- 0.9.6
- 0.9.5
- 0.9.4
- 0.9.3
- 0.9.2
- 0.9.1
- 0.9.0
- 0.8.0
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.2
- 0.6.1
- 0.6.0
- 0.5.7
- 0.5.6
- 0.5.5
- 0.5.4
- 0.5.3
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.8
- 0.4.7
- 0.4.6
- 0.4.5
- 0.4.4
- 0.4.3
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.11
- 0.3.10
- 0.3.9
- 0.3.8
- 0.3.7
- 0.3.6
- 0.3.5
- 0.3.4
- 0.3.3
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.8
- 0.2.7
- 0.2.6
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.0
- dev-model
- dev-collections
This package is auto-updated.
Last update: 2024-11-08 12:06:19 UTC
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
.