Template fails to render image in correct size

Author Message

Martin Crockett

Wednesday 09 February 2005 10:54:56 am

Hi,

I have a serious issue when trying to display images from an article class.

My images are being displayed with the thumbnail only (not full size) and with a text link underneath them.

This is my code:

    {section show=$node.object.data_map.image.has_content}
        {* image available *}
            <div class="imageright">
      	 		{attribute_view_gui attribute=$node.object.data_map.image}
      		</div>
    {/section}

The images were apparently showing as normal before at some stage. I cannot identify what has caused this to change.

I have manually cleared the cache. I am using eZ Publish 3.5.

Thanks in advance for any information that can solve this problem.

Best,

Martin

Ɓukasz Serwatka

Wednesday 09 February 2005 12:46:34 pm

Did you try this?

{attribute_view_gui image_class=original attribute=$node.object.data_map.image}

Did you add override template for image class or change something in image.ini?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Martin Crockett

Wednesday 09 February 2005 1:01:51 pm

Thanks for the reply, Lukasz.

"Did you try this?"

{attribute_view_gui image_class=original attribute=$node.object.data_map.image}

--> Yes. Same result as before, unfortunately. Thumnail & text displayed.

"Did you add override template for image class or change something in image.ini?"

--> Not to my knowledge. To both.

Seems like other people have had similar problems before.

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

Main resources:

Total runtime0.0165 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.0052 589.1641152.6406
Module start 'layout' 0.00520.0030 741.804739.4922
Module start 'content' 0.00820.0061 781.296989.3984
Module end 'content' 0.01430.0021 870.695334.3047
Script end 0.0164  905.0000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002515.0340140.0002
Check MTime0.00127.2301140.0001
Mysql Total
Database connection0.00095.372610.0009
Mysqli_queries0.002616.032330.0009
Looping result0.00000.078210.0000
Template Total0.001710.310.0017
Template load0.00095.530510.0009
Template processing0.00084.703210.0008
Override
Cache load0.00063.702010.0006
General
dbfile0.001710.296080.0002
String conversion0.00000.042040.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