Forums / Setup & design / image_class seems to be ignored

image_class seems to be ignored

Author Message

Sean Howard

Wednesday 26 January 2005 9:32:23 am

Hi all,

I'm having some problems getting images in override templates to display in a size i specify.

below is the contents of my override template:

<div class="pagetitle">
    {attribute_view_gui attribute=$node.object.data_map.title}
</div>
{attribute_view_gui attribute=$node.object.data_map.intro}
{attribute_view_gui attribute=$node.object.data_map.body}

<div class="imageright">

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

 {attribute_view_gui  attribute=$node.object.data_map.image image_class=imagelarge}
</div>

I've tried assigning all the possible values to image_class but the image is always just one size, and yes, i cleared the cache after each edit of this template.

I'm using apache 1.3.31, php 4.3.9, imagemagick and ezpublish 3.5.0

Any assistance on this matter will be greatly appreciated.

Greetings from Belize.