adds zoom notification
This commit is contained in:
parent
5380048734
commit
dc9790e413
|
@ -14,9 +14,8 @@ unzip main.zip
|
|||
## LISENCE
|
||||
The module is released under the [MIT] License.
|
||||
|
||||
|
||||
[arc-hive]: https://arc-hive.zone/
|
||||
[wheelzoom]: https://github.com/jackmoore/wheelzoom
|
||||
[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
|
||||
|
|
|
@ -16,14 +16,22 @@
|
|||
?>
|
||||
|
||||
<style>
|
||||
#<?= $id ?> {
|
||||
.archive-img {
|
||||
width: <?= $width ?>px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<img id="<?= $id ?>"
|
||||
src="<?= $image ?>"
|
||||
/>
|
||||
<div class="archive-img">
|
||||
<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) { ?>
|
||||
<script>
|
||||
|
|
Loading…
Reference in New Issue