Problem displaying images, cache???

Author Message

Alejandro Dominguez

Friday 04 March 2011 4:28:17 am

Hello guys,

I'm trying to display several images in my content from an object with the same width and height, some of the are display right, but others are smaller. This images has been taken with a proffesional camera, so they are large enough.

I thought it could be a cache problem, but after I cleaned it the images are still small (From setup > cache > Clear all caches)

This is the code I'm using to show the images

{attribute_view_gui attribute=$relnode.object.data_map.image image_class=medium}

any ideas?

Marc Humphries

Monday 04 April 2011 6:15:44 am

Did you have any luck finding a solution to this issue? I have run up against this one and can't figure it out. I wanted to allow users to post images in the forum.

Thanks

Luis Delgado

Thursday 07 April 2011 8:09:38 am

"

Did you have any luck finding a solution to this issue? I have run up against this one and can't figure it out. I wanted to allow users to post images in the forum.

Thanks

"

I'm having a similar problem... I see images are actually uploaded but no images are shown... any ideas??

Cheers

GOOD 4 ALL

Marc Humphries

Thursday 07 April 2011 8:25:09 am

Hi Luis, I managed to get images to to display on forum pages using the below:

{attribute_view_gui attribute=$node.data_map.image1 image_class=large}

Hope this helps.

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

Main resources:

Total runtime0.7052 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 587.9141152.6250
Module start 'layout' 0.00520.0032 740.539139.4531
Module start 'content' 0.00840.6951 779.9922580.5703
Module end 'content' 0.70350.0016 1,360.562512.1563
Script end 0.7051  1,372.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4365160.0002
Check MTime0.00130.1814160.0001
Mysql Total
Database connection0.00090.121310.0009
Mysqli_queries0.654892.8578620.0106
Looping result0.00060.0904600.0000
Template Total0.677496.120.3387
Template load0.00170.236820.0008
Template processing0.675795.818220.3378
Template load and register function0.00010.014710.0001
states
state_id_array0.00090.120710.0009
state_identifier_array0.00140.200520.0007
Override
Cache load0.00140.1950230.0001
Sytem overhead
Fetch class attribute can translate value0.00080.116030.0003
Fetch class attribute name0.00190.271760.0003
XML
Image XML parsing0.00140.201430.0005
class_abstraction
Instantiating content class attribute0.00000.001860.0000
General
dbfile0.00120.1734220.0001
String conversion0.00000.001340.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/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
1content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs