aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/templates
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-01-29 15:28:57 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-01-29 15:28:57 +0100
commit5a869732d1e3bff7e2c1afdb7b15c77c31b4b1cc (patch)
treecfaa7f39350286f921dfdfe52192a5026ff639fe /apps/files_sharing/templates
parentd310df505c0de1ed0ba4067a0c8304b8a675fa8c (diff)
downloadnextcloud-server-5a869732d1e3bff7e2c1afdb7b15c77c31b4b1cc.tar.gz
nextcloud-server-5a869732d1e3bff7e2c1afdb7b15c77c31b4b1cc.zip
adjust file type icon placement for when no preview can be generated
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r--apps/files_sharing/templates/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index 2f9c7246be5..5804f606d9f 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -34,7 +34,7 @@
</div>
<?php else: ?>
<div id="imgframe">
- <img src="<?php p(OCP\Util::linkToRoute( 'core_ajax_public_preview', array('x' => 500, 'y' => 500, 'file' => urlencode($_['directory_path']), 't' => $_['dirToken']))); ?>" class="publicpreview"/>
+ <img src="<?php p(OCP\Util::linkToRoute( 'core_ajax_public_preview', array('x' => 128, 'y' => 128, 'file' => urlencode($_['directory_path']), 't' => $_['dirToken']))); ?>" class="publicpreview"/>
</div>
<?php endif; ?>
<div class="directDownload">