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.

eZ debug

Timing: Jan 19 2025 00:56:05
Script start
Timing: Jan 19 2025 00:56:05
Module start 'layout'
Timing: Jan 19 2025 00:56:05
Module start 'content'
Timing: Jan 19 2025 00:56:05
Module end 'content'
Timing: Jan 19 2025 00:56:05
Script end

Main resources:

Total runtime0.0195 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 589.4063152.6563
Module start 'layout' 0.00820.0033 742.062539.5078
Module start 'content' 0.01140.0056 781.570389.3984
Module end 'content' 0.01710.0024 870.968830.3047
Script end 0.0194  901.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003015.2515140.0002
Check MTime0.00147.3185140.0001
Mysql Total
Database connection0.00136.520410.0013
Mysqli_queries0.004724.376730.0016
Looping result0.00000.164010.0000
Template Total0.002010.010.0020
Template load0.00126.376010.0012
Template processing0.00073.634210.0007
Override
Cache load0.00104.877810.0010
General
dbfile0.00136.587880.0002
String conversion0.00000.055140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs