mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 12:11:19 +00:00
show preview for all images supported by browser
This commit is contained in:
parent
ff0d550144
commit
4f28cd19d1
|
@ -384,6 +384,10 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
<?php
|
||||
break;
|
||||
case 'image/svg+xml':
|
||||
case 'image/jpg':
|
||||
case 'image/jpeg':
|
||||
case 'image/png':
|
||||
case 'image/gif':
|
||||
$this->contentHeading(getMLText("preview"));
|
||||
?>
|
||||
<img src="../op/op.ViewOnline.php?documentid=<?php echo $document->getID(); ?>&version=<?php echo $latestContent->getVersion(); ?>" width="100%">
|
||||
|
|
Loading…
Reference in New Issue
Block a user