Image problems again.

Author Message

David Moser

Thursday 23 June 2005 2:10:44 am

Hello!

I'm runnig ez publish 3.5.1 and I'm quite new at it.
I have created a line template for articels that should also show associated images. Everything works fine, except the sizing of the images.

I have already tried several variation of image_class attributes like: image_class=small, image_class=large, etc.

What I have already found out is that the Filter: <b>articleimage</b> does have some effect. But there I have just this one filter available

Here's my template code:

<table class="latest_news">
    <tr>
        <td colspan="2">
            <div class="headline_link">
            {attribute_view_gui attribute=$node.object.data_map.intro}
            </div>
        </td>
    </tr>
    <tr>
        <td>
            {attribute_view_gui attribute=$node.object.data_map.body}
        </td>
        <td valign="top">
            <a href={$node.url_alias|ezurl}>
               {attribute_view_gui attribute=$node.object.data_map.image image_class=small}
            </a>
        </td>
    </tr>
</table>
  $var = phpcode();

Can anyone help me?

David

David Moser

Thursday 23 June 2005 12:04:46 pm

Hello!

Found the solution at Kåre's answer:

http://ez.no/community/forum/setup_design/different_images_size_on_a_single_page

david

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 31 2025 10:10:02
Script start
Timing: Jan 31 2025 10:10:02
Module start 'layout'
Timing: Jan 31 2025 10:10:02
Module start 'content'
Timing: Jan 31 2025 10:10:02
Module end 'content'
Timing: Jan 31 2025 10:10:02
Script end

Main resources:

Total runtime0.0162 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.0043 588.1250151.2109
Module start 'layout' 0.00430.0025 739.335936.6484
Module start 'content' 0.00680.0072 775.984490.2500
Module end 'content' 0.01400.0022 866.234429.9922
Script end 0.0162  896.2266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002414.9940140.0002
Check MTime0.00116.9905140.0001
Mysql Total
Database connection0.00084.884810.0008
Mysqli_queries0.002314.463230.0008
Looping result0.00000.042610.0000
Template Total0.00148.910.0014
Template load0.00127.186010.0012
Template processing0.00031.627810.0003
Override
Cache load0.00074.489210.0007
General
dbfile0.002917.717380.0004
String conversion0.00000.030940.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