Image path problem with ezurl

Author Message

Toms King

Monday 18 September 2006 5:55:22 am

Hi, all,

I face a problem that all the image cannot be displayed. My system address is sth. like

www.test.com/company. and I use the command ezurl to retrieve the path of the image, it

always automately add index.php/company where company is the site name to the path.

Then resulted that the image cannot be display. How to fix this problem? Thanks.

Best regards,

Toms

Nabil Alimi

Monday 18 September 2006 6:48:38 am

Hi Toms,

In which case do you need to retrieve your image ?
Is it a "design" image that is uploaded in your design/images folder ?
In this case, the operator is <b>ezimage</b> instead of <b>ezurl</b>.

If it's a "content" image (uploaded with a new content), the operator is useless as the path stored in the ezimagealiashandler is absolute.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

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 08:20:54
Script start
Timing: Jan 31 2025 08:20:54
Module start 'layout'
Timing: Jan 31 2025 08:20:54
Module start 'content'
Timing: Jan 31 2025 08:20:54
Module end 'content'
Timing: Jan 31 2025 08:20:54
Script end

Main resources:

Total runtime0.0231 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.0065 588.1328151.2109
Module start 'layout' 0.00650.0042 739.343836.6484
Module start 'content' 0.01070.0106 775.992290.1406
Module end 'content' 0.02130.0018 866.132829.9922
Script end 0.0231  896.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002611.3295140.0002
Check MTime0.00125.3977140.0001
Mysql Total
Database connection0.00073.041210.0007
Mysqli_queries0.004921.206030.0016
Looping result0.00000.108310.0000
Template Total0.00125.310.0012
Template load0.00104.165310.0010
Template processing0.00031.098310.0003
Override
Cache load0.00072.824610.0007
General
dbfile0.004318.720680.0005
String conversion0.00000.043340.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