Give recources thumbnail auto height as pixelegg has fixed height and it causes to deform the image size

This commit is contained in:
Hadi Nategh 2014-08-27 09:12:54 +00:00
parent 08c409fdad
commit 43e0818df1

View File

@ -38,7 +38,7 @@
<nextmatch-customfields id="customfields"/>
</row>
<row class="$row_cont[class]">
<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]" />
<image id="${row}[picture_thumb]" width="100%" height="auto" 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"/>