Wednesday 25 November 2009 1:09:46 pm
actualy the tpl used for attribute_view_gui ( http://pubsvn.ez.no/websvn2/filedetails.php?repname=nextgen&path=%2Fstable%2F4.2%2Fdesign%2Fstandard%2Ftemplates%2Fcontent%2Fdatatype%2Fview%2Fezimage.tpl ) also check if image is empty or not, so you can remove the {if} too
{attribute_view_gui attribute=$node.data_map.masthead_images.content.data_map.image
alignment=left
image_class=small
css_class=profile
href=$node.url_alias} @ezp core developper the tpl used /design/standard/templates/content/datatype/view/ezpimage.tpl could benefit a param to link image to node. @akhi you should also enable debug / display used template list and check what template is used for your attribute_view_gui, it may happen that you have a override that use another tpl than the standard
--
http://www.ecedi.fr
Agence Web, Créa/Conseils, Accessibilité
eZPublish, Drupal, Zend, Symfony
|