2021-04-17 22:18:36 +02:00
|
|
|
<?php
|
|
|
|
namespace ImageViewer;
|
|
|
|
|
|
|
|
use Omeka\Module\AbstractModule;
|
|
|
|
use Laminas\EventManager\SharedEventManagerInterface;
|
|
|
|
use Laminas\Mvc\MvcEvent;
|
|
|
|
|
|
|
|
class Module extends AbstractModule
|
|
|
|
{
|
|
|
|
const NAMESPACE = __NAMESPACE__;
|
|
|
|
|
2021-04-19 14:24:34 +02:00
|
|
|
const IMAGE_WIDTH = [
|
|
|
|
'25' => '25 %',
|
|
|
|
'50' => '50 %',
|
|
|
|
'75' => '75 %',
|
|
|
|
'100' => '100 %',
|
|
|
|
];
|
|
|
|
|
2021-04-19 16:21:37 +02:00
|
|
|
const ZOOM_TYPE = [
|
|
|
|
'' => '',
|
|
|
|
'zoom' => 'Touch / grab',
|
|
|
|
'wheelzoom' => 'Deep zooming',
|
|
|
|
];
|
|
|
|
|
2021-04-17 22:18:36 +02:00
|
|
|
public function getConfig()
|
|
|
|
{
|
|
|
|
return include __DIR__ . '/config/module.config.php';
|
|
|
|
}
|
|
|
|
}
|