adds zoom notification
This commit is contained in:
parent
5380048734
commit
dc9790e413
|
@ -14,9 +14,8 @@ unzip main.zip
|
||||||
## LISENCE
|
## LISENCE
|
||||||
The module is released under the [MIT] License.
|
The module is released under the [MIT] License.
|
||||||
|
|
||||||
|
|
||||||
[arc-hive]: https://arc-hive.zone/
|
[arc-hive]: https://arc-hive.zone/
|
||||||
[wheelzoom]: https://github.com/jackmoore/wheelzoom
|
[wheelzoom]: https://github.com/jackmoore/wheelzoom
|
||||||
[Omeka S]: https://omeka.org/s
|
[Omeka S]: https://omeka.org/s
|
||||||
[Archive.org]: https://archive.org
|
[ImageViewer]: https://git.hangar.org/arcHIVE-tech/ImageViewer
|
||||||
[MIT]: http://opensource.org/licenses/MIT
|
[MIT]: http://opensource.org/licenses/MIT
|
||||||
|
|
|
@ -16,14 +16,22 @@
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
#<?= $id ?> {
|
.archive-img {
|
||||||
width: <?= $width ?>px;
|
width: <?= $width ?>px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<img id="<?= $id ?>"
|
<div class="archive-img">
|
||||||
src="<?= $image ?>"
|
<img id="<?= $id ?>"
|
||||||
/>
|
src="<?= $image ?>"
|
||||||
|
/>
|
||||||
|
<?php if ($zoom == true) { ?>
|
||||||
|
<div
|
||||||
|
style="font-size: 0.75em; color:white; background-color: gray; padding-left: 1em">
|
||||||
|
You can zoom this image
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?php if ($zoom == true) { ?>
|
<?php if ($zoom == true) { ?>
|
||||||
<script>
|
<script>
|
||||||
|
|
Loading…
Reference in New Issue