* Resources/list: Fix thumbnails size in resources' listview

This commit is contained in:
Hadi Nategh 2014-08-27 08:12:57 +00:00
parent bdc8b5bd01
commit 76830f71af
2 changed files with 2 additions and 6 deletions

View File

@ -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':

View File

@ -38,7 +38,7 @@
<nextmatch-customfields id="customfields"/>
</row>
<row class="$row_cont[class]">
<image id="${row}[picture_thumb]" extra_link_target="_blank" href="webdav.php/apps/resources/${row_cont[res_id]}/.picture.jpg" src="${row}[picture_thumb]" />
<image id="${row}[picture_thumb]" width="100%" extra_link_target="_blank" href="webdav.php/apps/resources/${row_cont[res_id]}/.picture.jpg" src="${row}[picture_thumb]" />
<vbox>
<description id="${row}[name]" no_lang="1"/>
<description id="${row}[short_description]" no_lang="1"/>