OE embed-inline, embed, full and line

Author Message

Softriva .com

Tuesday 01 May 2007 8:52:36 am

What is the difference between embed-inline, embed, full and line when inserting images in OE.

OOzy

Felix Woldt

Wednesday 02 May 2007 12:46:13 am

embed-inline, embed, full and line are the different viewmode (different types how to include the image = different templates)
1. embed-inline has no break at the end ( i think )
2. embed has a break (<br>) after the image
...

To find out the differences between the viewmode, create a new contentobject an insert the same image in the 4 viewmodes. Then have a look into the html sourcecode.

Greetings
Felix

http://www.jac-systeme.de - Developers united in eZ Publish: http://www.cjw-network.com

CJW Newsletter 1.0.0 released: http://projects.ez.no/cjw_newsletter

paul bolger

Wednesday 16 May 2007 5:49:58 pm

Inline and embed should correspond to CSS 'inline' and 'block' elements - the two generics are <span> and <div>. Inline images are pretty rare in html.

Using a <br /> to make an inline element into a pseudo block element is a *bad idea* - if you want a block element, use one!

Paul Bolger

Felix Woldt

Thursday 17 May 2007 2:13:45 am

@paul
of course you are right

http://www.jac-systeme.de - Developers united in eZ Publish: http://www.cjw-network.com

CJW Newsletter 1.0.0 released: http://projects.ez.no/cjw_newsletter

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 22:23:43
Script start
Timing: Jan 18 2025 22:23:43
Module start 'layout'
Timing: Jan 18 2025 22:23:43
Module start 'content'
Timing: Jan 18 2025 22:23:44
Module end 'content'
Timing: Jan 18 2025 22:23:44
Script end

Main resources:

Total runtime0.7718 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 589.4766152.6406
Module start 'layout' 0.00590.0041 742.117239.4609
Module start 'content' 0.01000.7603 781.5781587.6328
Module end 'content' 0.77030.0014 1,369.210912.4688
Script end 0.7718  1,381.6797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4442160.0002
Check MTime0.00140.1770160.0001
Mysql Total
Database connection0.00080.102110.0008
Mysqli_queries0.715092.6438620.0115
Looping result0.00080.1051600.0000
Template Total0.731894.820.3659
Template load0.00210.270520.0010
Template processing0.729794.538620.3648
Template load and register function0.00030.040210.0003
states
state_id_array0.00100.129310.0010
state_identifier_array0.00080.109220.0004
Override
Cache load0.00180.2306220.0001
Sytem overhead
Fetch class attribute can translate value0.00070.087130.0002
Fetch class attribute name0.00130.173160.0002
XML
Image XML parsing0.00120.155330.0004
class_abstraction
Instantiating content class attribute0.00000.002070.0000
General
dbfile0.00100.1271220.0000
String conversion0.00000.001340.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
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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/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: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs