Online editor: Image size with embedded objects

Author Message

Tobias Vogel

Wednesday 27 February 2008 1:49:52 am

I currently have a problem with embedding images as objects in ezpublish 4.0.

It insofar works, as it's possible to embed image into a XML block of an article, but in the embed window, the dropdown for the "size" property is disabled. So all images always get resized to medium size.

Does anyone know how to enable the "size" property, so a user can change it? Is it a ini setting or do I probably have to override the admin template?

Tobias Vogel

Wednesday 27 February 2008 2:20:11 am

Figured it out myself:

You can only set the size property, when creating a new embedded object. If editing the article again, the size property of the embedded object gets disabled. Don't know why this should make any sense, but so be it.

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 18:20:09
Script start
Timing: Jan 18 2025 18:20:09
Module start 'layout'
Timing: Jan 18 2025 18:20:09
Module start 'content'
Timing: Jan 18 2025 18:20:10
Module end 'content'
Timing: Jan 18 2025 18:20:10
Script end

Main resources:

Total runtime1.3340 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 589.1797152.6406
Module start 'layout' 0.00440.0029 741.820339.4922
Module start 'content' 0.00731.3249 781.3125422.2578
Module end 'content' 1.33220.0018 1,203.57038.1250
Script end 1.3340  1,211.6953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.2160160.0002
Check MTime0.00120.0924160.0001
Mysql Total
Database connection0.00070.050610.0007
Mysqli_queries1.297797.2749520.0250
Looping result0.00060.0442500.0000
Template Total1.301397.520.6507
Template load0.00180.138220.0009
Template processing1.299597.409920.6497
Template load and register function0.00020.013710.0002
states
state_id_array0.00070.055910.0007
state_identifier_array0.00210.161020.0011
Override
Cache load0.00150.112490.0002
Sytem overhead
Fetch class attribute can translate value0.00060.041710.0006
Fetch class attribute name0.00110.079320.0005
XML
Image XML parsing0.00010.007310.0001
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00050.0369100.0000
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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 4

Time used to render debug report: 0.0002 secs