From 76830f71afe5b8b0f43c3e6ed811bb33477491f1 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 27 Aug 2014 08:12:57 +0000 Subject: [PATCH] * Resources/list: Fix thumbnails size in resources' listview --- resources/inc/class.resources_bo.inc.php | 6 +----- resources/templates/default/show.xet | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/resources/inc/class.resources_bo.inc.php b/resources/inc/class.resources_bo.inc.php index 1d10821177..fb9ea02023 100755 --- a/resources/inc/class.resources_bo.inc.php +++ b/resources/inc/class.resources_bo.inc.php @@ -251,7 +251,7 @@ class resources_bo } else { - $rows[$num]['picture_thumb'] = $this->get_picture($resource); + $rows[$num]['picture_thumb'] = $this->get_picture($resource, true); } $rows[$num]['admin'] = $this->acl->get_cat_admin($resource['cat_id']); } @@ -830,10 +830,6 @@ class resources_bo { $picture = egw::link(egw_vfs::download_url($picture)); } - else - { - $picture = egw::link('/etemplate/thumbnail.php',array('path' => $picture)); - } break; case 'cat_src': diff --git a/resources/templates/default/show.xet b/resources/templates/default/show.xet index 544f06b72c..2ecebb7d11 100644 --- a/resources/templates/default/show.xet +++ b/resources/templates/default/show.xet @@ -38,7 +38,7 @@ - +