ezimage returns wrong url

Author Message

Menno van Drunen

Friday 19 September 2003 8:55:37 am

i just installed ezpublish 3.2 and started migarting my design from 3.1 but something goes wrong with the images. In the .tpl file a have the following statement:

<img src={"topbar.gif"|ezimage} width="20" height="62" />

This statement returns the following html:
<img src="topbar.gif" width="20" height="62" />

instead of something like:
"/design/images/topbar.gif"

What am I doing wrong???

Update:
I found the solution, the images where in the wrong folder. In my opinion it stays strange that the urls are mixed up when the images are not there

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

Main resources:

Total runtime1.7280 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0090 587.9141152.6250
Module start 'layout' 0.00900.0037 740.539139.4453
Module start 'content' 0.01271.7140 779.9844402.7891
Module end 'content' 1.72660.0014 1,182.77348.1641
Script end 1.7280  1,190.9375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.2086160.0002
Check MTime0.00150.0873160.0001
Mysql Total
Database connection0.00140.082910.0014
Mysqli_queries1.681597.3069460.0366
Looping result0.00070.0408440.0000
Template Total1.691297.920.8456
Template load0.00330.190120.0016
Template processing1.687997.679320.8440
Template load and register function0.00020.010310.0002
states
state_id_array0.00100.056310.0010
state_identifier_array0.00280.163120.0014
Override
Cache load0.00280.1618120.0002
Sytem overhead
Fetch class attribute can translate value0.00080.047910.0008
Fetch class attribute name0.00070.040910.0007
XML
Image XML parsing0.00010.006910.0001
class_abstraction
Instantiating content class attribute0.00000.000310.0000
General
dbfile0.00120.0700100.0001
String conversion0.00000.000440.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
1content/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
3content/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: 5

Time used to render debug report: 0.0001 secs