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.

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

eZ debug

Timing: Jan 19 2025 03:37:29
Script start
Timing: Jan 19 2025 03:37:29
Module start 'layout'
Timing: Jan 19 2025 03:37:29
Module start 'content'
Timing: Jan 19 2025 03:37:30
Module end 'content'
Timing: Jan 19 2025 03:37:30
Script end

Main resources:

Total runtime0.7456 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 589.1563152.6250
Module start 'layout' 0.00470.0030 741.781339.4609
Module start 'content' 0.00780.7361 781.2422401.1484
Module end 'content' 0.74380.0018 1,182.39068.1641
Script end 0.7456  1,190.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4527160.0002
Check MTime0.00140.1814160.0001
Mysql Total
Database connection0.00060.084310.0006
Mysqli_queries0.710195.2343460.0154
Looping result0.00050.0616440.0000
Template Total0.713995.720.3569
Template load0.00270.368220.0014
Template processing0.711195.371620.3556
Template load and register function0.00020.032510.0002
states
state_id_array0.00110.147810.0011
state_identifier_array0.00180.238220.0009
Override
Cache load0.00200.2664110.0002
Sytem overhead
Fetch class attribute can translate value0.00050.073610.0005
Fetch class attribute name0.00060.085810.0006
XML
Image XML parsing0.00010.013310.0001
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00070.0889100.0001
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs