Forums / Setup & design / Image problems again.

Image problems again.

Author Message

David Moser

Thursday 23 June 2005 2:10:44 am

Hello!

I'm runnig ez publish 3.5.1 and I'm quite new at it.
I have created a line template for articels that should also show associated images. Everything works fine, except the sizing of the images.

I have already tried several variation of image_class attributes like: image_class=small, image_class=large, etc.

What I have already found out is that the Filter: <b>articleimage</b> does have some effect. But there I have just this one filter available

Here's my template code:

<table class="latest_news">
    <tr>
        <td colspan="2">
            <div class="headline_link">
            {attribute_view_gui attribute=$node.object.data_map.intro}
            </div>
        </td>
    </tr>
    <tr>
        <td>
            {attribute_view_gui attribute=$node.object.data_map.body}
        </td>
        <td valign="top">
            <a href={$node.url_alias|ezurl}>
               {attribute_view_gui attribute=$node.object.data_map.image image_class=small}
            </a>
        </td>
    </tr>
</table>
  $var = phpcode();

Can anyone help me?

David

David Moser

Thursday 23 June 2005 12:04:46 pm

Hello!

Found the solution at Kåre's answer:

http://ez.no/community/forum/setup_design/different_images_size_on_a_single_page

david