Forums / General / Image problem
Steph A
Saturday 26 February 2005 8:22:19 am
I have some problems showing small images in article. I just cant get any other size then orginal. I have tried lots of different solutions - but nothing seems to be working.
This is my overide code in /node/view/line:
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="float: left"> <tr> <td class="header_full" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom: 1px solid #003366"> <p style="margin-top: 0; margin-bottom: 5px">{attribute_view_gui attribute=$node.object.data_map.title}</p> </td> <td> </td> </tr> <tr> <td colspan="2" style="vertical-align: top"> <div align="left"> <table border="0" cellpadding="0" cellspacing="0" style="float: right"> <tr> <td> <p style="margin-left: 20px; margin-top: 0; margin-bottom: 0"> <a href="{$node.url_alias|ezurl}">{attribute_view_gui image_class=small attribute=$node.object.data_map.image} </a></p> </td> </tr> </table> <p align="left" style="margin-top: 0; margin-bottom: 0">{attribute_view_gui attribute=$node.object.data_map.intro}</p> </div> </td> </tr> <tr> <td colspan="2"> </td> </tr> </table>
It just will not show the "small" image.
Help anyone!?
Saturday 26 February 2005 8:43:58 am
I solved it using
{attribute_view_gui alignment=right image_class=articlethumbnail attribute=$node.object.data_map.image.content.data_map.image}