summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/templates
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-05-02 18:36:58 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-05-02 18:36:58 +0200
commitd163441f3e1d011c117eca54eb9d23c0b58a23a8 (patch)
tree7bca5c7a61382fdddd56c70a5271113f2bab08b8 /apps/files_sharing/templates
parent20893cc3b335049a144a53be24eaacb2e33a1480 (diff)
downloadnextcloud-server-d163441f3e1d011c117eca54eb9d23c0b58a23a8.tar.gz
nextcloud-server-d163441f3e1d011c117eca54eb9d23c0b58a23a8.zip
load image via javascript and use $(document).width() to determine the proper side of the image to be returned
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r--apps/files_sharing/templates/public.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index 7614e122e86..9471752b6b5 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -30,10 +30,6 @@
<?php else: ?>
<?php if (substr($_['mimetype'], 0, strpos($_['mimetype'], '/')) == 'image'): ?>
<div id="imgframe">
- <img
- src="<?php p(OCP\Util::linkToRoute( 'core_ajax_public_preview', array('x' => 1000, 'y' => 1000, 'a' => 'true', 'file' => $_['directory_path'], 't' => $_['dirToken']))); ?>"
- class="publicpreview"
- alt=""/>
</div>
<?php elseif (substr($_['mimetype'], 0, strpos($_['mimetype'], '/')) == 'video'): ?>
<div id="imgframe">