image size in template override

Author Message

risto CMS user

Wednesday 15 March 2006 6:32:21 am

I have this:

{content_view_gui view=embed content_object=$node.object.data_map.bilde.content}

it prints out an image (bilde). the thing is, Id like to set size on it, but if I set size nothing chages. I have tried using:

{attribute_view_gui attribute=$node.object.data_map.bilde size=small}
{attribute_view_gui attribute=$node.object.data_map.bilde image_class=small}

None of them work. wats wrong here?

Ɓukasz Serwatka

Wednesday 15 March 2006 11:27:34 pm

Do you have any errors/warnings in debug output? Make sure that this is not permission problem. Try clear view and image aliases cache from admin interface. What datatype is bilde attribute? Image or Object relation?

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

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

Main resources:

Total runtime0.0139 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.0049 588.1328151.2109
Module start 'layout' 0.00490.0031 739.343836.6641
Module start 'content' 0.00800.0045 776.007890.1719
Module end 'content' 0.01250.0014 866.179729.9922
Script end 0.0139  896.1719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002316.7819140.0002
Check MTime0.00118.1566140.0001
Mysql Total
Database connection0.00118.243810.0011
Mysqli_queries0.002618.389930.0009
Looping result0.00000.128310.0000
Template Total0.00117.810.0011
Template load0.00096.321010.0009
Template processing0.00021.449010.0002
Override
Cache load0.00064.485410.0006
General
dbfile0.00032.117880.0000
String conversion0.00000.065040.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