Forums / Setup & design / OE embed-inline, embed, full and line

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