Path to original image

Author Message

Felix Laate

Wednesday 08 December 2004 5:39:44 am

Hi all!

In a earlier site I used

{$node.data_map.image.content['original'].url|ezroot(single)}

to give med the URL to the original version of images.

Now (using 3.5.0rc1) it doesn't seem to work anymore.

Is there any logic reason for this. Is this use of this attribute obsolete? Is there any other way to get the original image?

cheers
Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Felix Laate

Thursday 09 December 2004 3:36:56 am

Got it!

Now it should be

{$node.object.data_map.image.content.data_map.image.content['original'].url|ezroot(single)}

Not shure why though..

felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

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 18:27:44
Script start
Timing: Jan 18 2025 18:27:44
Module start 'layout'
Timing: Jan 18 2025 18:27:44
Module start 'content'
Timing: Jan 18 2025 18:27:45
Module end 'content'
Timing: Jan 18 2025 18:27:45
Script end

Main resources:

Total runtime0.7320 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 587.9063152.6250
Module start 'layout' 0.00640.0032 740.531339.4453
Module start 'content' 0.00960.7207 779.9766487.8281
Module end 'content' 0.73030.0016 1,267.80478.1719
Script end 0.7319  1,275.9766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4524160.0002
Check MTime0.00130.1759160.0001
Mysql Total
Database connection0.00120.157510.0012
Mysqli_queries0.683393.3447520.0131
Looping result0.00050.0676500.0000
Template Total0.696295.120.3481
Template load0.00200.269720.0010
Template processing0.694294.835020.3471
Template load and register function0.00010.014210.0001
states
state_id_array0.00150.210110.0015
state_identifier_array0.00180.246620.0009
Override
Cache load0.00160.2139190.0001
Sytem overhead
Fetch class attribute can translate value0.00060.075610.0006
Fetch class attribute name0.00160.214030.0005
XML
Image XML parsing0.00050.065410.0005
class_abstraction
Instantiating content class attribute0.00000.004540.0000
General
dbfile0.00080.1106160.0001
String conversion0.00000.000840.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs