How to get image name & path clean with no " or ' ?!?!?!

Author Message

Selmah Maxim

Tuesday 08 February 2005 12:24:40 pm

Hi ...

Any one knows how i can get the image path and name with out " or ' ?!

Thx in advance.

Łukasz Serwatka

Tuesday 08 February 2005 12:32:36 pm

{"image.gif"|ezimage(no)}

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

Selmah Maxim

Wednesday 09 February 2005 4:06:42 am

thanks alot ... I had searched the docs in the ez.no, didn`t find it where did u got it, just in case i`ll need another option !

Łukasz Serwatka

Wednesday 09 February 2005 12:42:23 pm

Useful links
http://ez.no/ez_publish/documentation/reference/template_operators/urls/ezimage
http://ez.no/ez_publish/documentation/reference/template_operators/urls

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 20 2025 01:00:59
Script start
Timing: Jan 20 2025 01:00:59
Module start 'layout'
Timing: Jan 20 2025 01:00:59
Module start 'content'
Timing: Jan 20 2025 01:01:01
Module end 'content'
Timing: Jan 20 2025 01:01:01
Script end

Main resources:

Total runtime1.1636 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 589.2891152.6406
Module start 'layout' 0.00430.0036 741.929739.4766
Module start 'content' 0.00791.1541 781.4063541.9453
Module end 'content' 1.16200.0015 1,323.351612.1094
Script end 1.1635  1,335.4609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2971160.0002
Check MTime0.00160.1378160.0001
Mysql Total
Database connection0.00060.049210.0006
Mysqli_queries1.119596.2118600.0187
Looping result0.00060.0525580.0000
Template Total1.132697.320.5663
Template load0.00190.159920.0009
Template processing1.130797.179220.5654
Template load and register function0.00020.013410.0002
states
state_id_array0.00170.148610.0017
state_identifier_array0.00190.166020.0010
Override
Cache load0.00150.1272160.0001
Sytem overhead
Fetch class attribute can translate value0.00060.050720.0003
Fetch class attribute name0.00100.083550.0002
XML
Image XML parsing0.00060.047820.0003
class_abstraction
Instantiating content class attribute0.00000.000960.0000
General
dbfile0.00080.0683180.0000
String conversion0.00000.000740.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
4content/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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs