SourceForge.net Logo
March 2, 2025
© GPL
 
ProWikiCenter
Cdml Icon
 
Difference (last change) (Author, normal page display)

Changed: 1c1,4
This CmdlElement allows to place images and optionally scale them.
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.

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