Problem getting custom image size in article_full template

Author Message

Jack Rackham

Tuesday 15 February 2005 6:25:56 am

In my article class I have 2 different image object relations. And I want to view the second one in a different size than the first one, but image_class=large,small…. has no effect. Instead booth object relations are shown in a size named "articleimage".

{section show=$node.object.data_map.image.content}
            <div class="attribute-image">
                {attribute_view_gui attribute=$node.object.data_map.image align=right}
            </div>
        {/section}


{section show=$node.object.data_map.bilde_486.content}
           
                {attribute_view_gui attribute=$node.object.data_map.bilde_486 image_class=large}
           
        {/section}

Jack Rackham

Tuesday 15 February 2005 6:35:13 am

I have just noticed that there is override for the image object relation.

{section show=$attribute.content}
<div class="imageright">

    <div class="imageobject">
    {attribute_view_gui attribute=$attribute.content.data_map.image image_class=articleimage}
    </div>

    <div class="imagecaption">
    {attribute_view_gui attribute=$attribute.content.data_map.caption}
    </div>

</div>

{/section}

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.