From 7886262fea00edd232f2e089e84eebedcb670d90 Mon Sep 17 00:00:00 2001 From: ArthurHub Date: Mon, 23 Sep 2013 19:04:16 +0300 Subject: [PATCH] update sample html --- Source/Demo/Samples/05.Images.htm | 80 ++++++++++++++++++------------- 1 file changed, 47 insertions(+), 33 deletions(-) diff --git a/Source/Demo/Samples/05.Images.htm b/Source/Demo/Samples/05.Images.htm index 54e5be67e..bd76e5b3a 100644 --- a/Source/Demo/Samples/05.Images.htm +++ b/Source/Demo/Samples/05.Images.htm @@ -3,86 +3,100 @@ -

- Images +

Images

- Of course, there's the capability of displaying images. In this release, images - lack of the expected alignment features to behave just as expected on an HTML context, - but they will do just fine for inline contexts, tables and some others.

-

- Inserting images + HTML Renderer supports img tag as well as CSS background-image property. +
+ Image data can be provided by URI, file path, base64 encoded and code interception. + +

+ +

Loading image

- We all know that the src attribute of the img HTML tag - can be a relative or absolute path to an image on the same or any other server. - Here things are slightly different. Images can come from other sources:

- -

- Positioning Images -

+

URI

+

+

+

File path

+

+

+

Base64 encoded

+

+

+

Intercept

+

+

img tag

You can use Images anyway you like, apply borders margin and padding as for any other box. +

+ Limitation +
+ Image align attribute and CSS float property are not yet supported. +

- - - - -
- Just an image: + Just an image:
- Image with border and background: + Image with border and background:
- Stretched Image: + Stretched Image:
- Huge padding and border: + Huge padding and border:
- Image in line + Image in line with the text
+ +

Background images +

+