diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-05-02 18:36:58 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-05-02 18:36:58 +0200 |
commit | d163441f3e1d011c117eca54eb9d23c0b58a23a8 (patch) | |
tree | 7bca5c7a61382fdddd56c70a5271113f2bab08b8 /apps/files_sharing/templates | |
parent | 20893cc3b335049a144a53be24eaacb2e33a1480 (diff) | |
download | nextcloud-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.php | 4 |
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"> |