Forums / Setup & design / image_class seems to be ignored

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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 Exponential 3.5.0

Any assistance on this matter will be greatly appreciated.

Greetings from Belize.