image, imagefile operator error

Author Message

Karol Radziuk

Monday 06 December 2010 7:33:07 am

Hi,

before I report an issue, I would like to know, whether there is eZ bug or my lack of knowledge, namely:

In: ez/lib/ezimage/classes/ezimageinterface.php I discovered that I have to remove first "/" (slash) from $StoredPath variable, that PHP GD not thrown an error.

I could never run template operator {image( imagefile( 'video.jpg'|ezimage('no') ) )} before this step in PHP code. Is this bug or I should change something in PHP GD?

{$me|attribute(show,1)}

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 29 2025 23:47:29
Script start
Timing: Jan 29 2025 23:47:29
Module start 'layout'
Timing: Jan 29 2025 23:47:29
Module start 'content'
Timing: Jan 29 2025 23:47:29
Module end 'content'
Timing: Jan 29 2025 23:47:29
Script end

Main resources:

Total runtime0.0238 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.0102 588.1328151.2109
Module start 'layout' 0.01020.0043 739.343836.6563
Module start 'content' 0.01460.0080 776.000086.0625
Module end 'content' 0.02250.0012 862.062529.9766
Script end 0.0238  892.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002811.5724140.0002
Check MTime0.00114.7497140.0001
Mysql Total
Database connection0.00114.431310.0011
Mysqli_queries0.005824.428730.0019
Looping result0.00000.134210.0000
Template Total0.00093.910.0009
Template load0.00073.057310.0007
Template processing0.00020.819210.0002
Override
Cache load0.00052.092010.0005
General
dbfile0.003615.066480.0004
String conversion0.00000.076140.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