SourceForge.net Logo
March 2, 2025
© GPL
 
ProWikiCenter
Cdml Icon
 
Difference (previous author) (Change, Edit, normal page display)

Changed: 1c1,43
Describe the new page here.
This CmdlElement allows to place images and optionally scale them.

* IMPORTANT:
** To keep the aspect ratio of the image, use either the width OR the height parameter.



=== Example ===

[[Icon] http://www.wikiservice.at/image/golden_gate.jpg[width=100px]]
[[Icon] http://www.wikiservice.at/image/golden_gate.jpg[width=150px]]
[[Icon] http://www.wikiservice.at/image/golden_gate.jpg[width=200px]]

is generated from the following input:

:<pre>[[Icon] http://www.wikiservice.at/image/golden_gate.jpg[width=100px]]
[[Icon] http://www.wikiservice.at/image/golden_gate.jpg[width=150px]]
[[Icon] http://www.wikiservice.at/image/golden_gate.jpg[width=200px]]</pre&gt;



=== Parameters ===


* [[yellow]width]: defines the width of the image; e.g. [width=300px]

* [[yellow]height]: defines the height of the image; e.g. [height=200px]

* [[yellow]url]: optional alternative to defining the image url in the CdmlImage body


=== Units (as supported by HTML) ===

* [[green]px] is the most commonly used unit in web design.

* Other absolute units [[yellow]( cm, mm, in, pt, pc )] are mainly used in print CSS.



=== More Examples ===




FolderWikiFeatures FolderCdml


This CmdlElement allows to place images and optionally scale them.

  • IMPORTANT:
    • To keep the aspect ratio of the image, use either the width OR the height parameter.

Example

is generated from the following input:

[[Icon]http://www.wikiservice.at/image/golden_gate.jpg[width=100px]]
[[Icon]http://www.wikiservice.at/image/golden_gate.jpg[width=150px]]
[[Icon]http://www.wikiservice.at/image/golden_gate.jpg[width=200px]]


Parameters

  • width: defines the width of the image; e.g. [width=300px]
  • height: defines the height of the image; e.g. [height=200px]
  • url: optional alternative to defining the image url in the CdmlImage body

Units (as supported by HTML)

  • px is the most commonly used unit in web design.
  • Other absolute units ( cm, mm, in, pt, pc ) are mainly used in print CSS.

More Examples


FolderWikiFeatures FolderCdml