Image problem

Author Message

Jorge estévez

Thursday 10 June 2004 9:31:53 am

Hi!

I can always access images with the following code from a pagelayout overrride:

<img src={"images/eng/commonstuff/opensection.jpg"|ezdesign} alt="" />

But if used inside a full.tpl override it will not the right path to the image!!

Hints please?

Thanks!

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

Paul Forsyth

Thursday 10 June 2004 10:52:21 am

Curious. Can you post the resolved html of the two situations?

paul

--
http://www.visionwt.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 19 2025 04:57:00
Script start
Timing: Jan 19 2025 04:57:00
Module start 'layout'
Timing: Jan 19 2025 04:57:00
Module start 'content'
Timing: Jan 19 2025 04:57:01
Module end 'content'
Timing: Jan 19 2025 04:57:01
Script end

Main resources:

Total runtime0.6829 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.0313152.6094
Module start 'layout' 0.00540.0021 741.640639.3984
Module start 'content' 0.00760.6738 781.0391486.8047
Module end 'content' 0.68140.0014 1,267.84388.2031
Script end 0.6829  1,276.0469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4419160.0002
Check MTime0.00130.1886160.0001
Mysql Total
Database connection0.00100.148610.0010
Mysqli_queries0.644194.3256540.0119
Looping result0.00050.0764520.0000
Template Total0.657296.220.3286
Template load0.00170.256120.0009
Template processing0.655495.981620.3277
Template load and register function0.00020.030310.0002
states
state_id_array0.00060.093110.0006
state_identifier_array0.00120.182520.0006
Override
Cache load0.00140.2101140.0001
Sytem overhead
Fetch class attribute can translate value0.00090.129220.0004
Fetch class attribute name0.00100.144520.0005
XML
Image XML parsing0.00040.058520.0002
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00120.1814100.0001
String conversion0.00000.001240.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/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/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: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs