mimetype_icon only shows 16x16

Author Message

Jeroen Sangers

Tuesday 04 July 2006 10:22:25 am

In ezbinaryfile.tpl, mimetype_icon is called with icon size set to normal. According to the icon.ini this should result in a 32x32 icon, but a 16x16 icon is returned instead. Is this a bug in mimetype_icon or did I do something wrong?

Ɓukasz Serwatka

Wednesday 05 July 2006 12:18:02 am

Can you please report this issue in bug tracker? Thank you.

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

Jeroen Sangers

Wednesday 05 July 2006 1:49:20 am

Sorry, this is not a bug, just some temporary blindness of me.
What is mentioned in ezbinaryfile.tpl is the default size. The template in which the icon appears passed the parameter size='small', so therefore the default was not used.

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:28:48
Script start
Timing: Jan 19 2025 04:28:48
Module start 'layout'
Timing: Jan 19 2025 04:28:48
Module start 'content'
Timing: Jan 19 2025 04:28:49
Module end 'content'
Timing: Jan 19 2025 04:28:49
Script end

Main resources:

Total runtime1.2635 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 589.1563152.6250
Module start 'layout' 0.00600.0028 741.781339.4609
Module start 'content' 0.00881.2533 781.2422540.6016
Module end 'content' 1.26210.0014 1,321.843812.1641
Script end 1.2635  1,334.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.3109160.0002
Check MTime0.00150.1201160.0001
Mysql Total
Database connection0.00090.072710.0009
Mysqli_queries1.208795.6633570.0212
Looping result0.00070.0521550.0000
Template Total1.220796.620.6104
Template load0.00400.315520.0020
Template processing1.216796.296120.6084
Template load and register function0.00010.007010.0001
states
state_id_array0.00180.144010.0018
state_identifier_array0.00290.229820.0015
Override
Cache load0.00340.2721120.0003
Sytem overhead
Fetch class attribute can translate value0.00070.053420.0003
Fetch class attribute name0.00170.131450.0003
XML
Image XML parsing0.00140.107120.0007
class_abstraction
Instantiating content class attribute0.00000.001160.0000
General
dbfile0.00240.1913240.0001
String conversion0.00000.002140.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs