This commit is contained in:
Dennis Eichhorn 2016-05-26 22:54:06 +02:00
parent 5509176eed
commit 9387d230bc

View File

@ -36,6 +36,8 @@ echo $this->getData('nav')->render();
</table>
<?php if(in_array($media->getExtension(), ['gif', 'bmp', 'jpg', 'jpeg', 'png'])) : ?>
<img src="<?= $this->request->getUri()->getBase() . $media->getPath(); ?>">
<?php elseif($media->getExtension() === 'collection') : ?>
collection
<?php else : ?>
<pre>
<?php