summaryrefslogtreecommitdiffstats
path: root/testing/031_image.dox
blob: 61f5bba33cb7a3fd9d116b49093f3e6bd222a187 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// objective: test the \image command
// check: indexpage.xml
// config: IMAGE_PATH = $INPUTDIR
/** \mainpage
Some text.
\image html sample.png
\image latex sample.png "Doxygen logo" width=5cm
\image docbook sample.png
More text.

SVG image with caption:\n
\image html http://img.shields.io/badge/license-MIT-brightgreen.svg "A caption"

PNG image with caption:\n
\image html http://img.shields.io/badge/license-MIT-brightgreen.png "A caption"

SVG image without caption:\n
\image html http://img.shields.io/badge/license-MIT-brightgreen.svg

PNG image without caption:\n
\image html http://img.shields.io/badge/license-MIT-brightgreen.png

Inline SVG image with caption:\n
This image is inline \image{inline} html http://img.shields.io/badge/license-MIT-brightgreen.svg "MIT license" within the text.

Inline PNG image with caption:\n
This image is inline
\image{inline} html http://img.shields.io/badge/license-MIT-brightgreen.png "MIT license"
within the text.

Markdown style linked SVG image:\n
[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)

Markdown style linked PNG image:\n
[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.png)](http://opensource.org/licenses/MIT)

HTML style linked SVG image:\n
<a href="http://opensource.org/licenses/MIT">
<img src="http://img.shields.io/badge/license-MIT-brightgreen.svg" alt="MIT license">
</a>

HTML style linked PNG image:\n
<a href="http://opensource.org/licenses/MIT">
<img src="http://img.shields.io/badge/license-MIT-brightgreen.png" alt="MIT license">
</a>

HTML style unlinked SVG image:\n
<img src="http://img.shields.io/badge/license-MIT-brightgreen.svg" alt="MIT license"/>

HTML style unlined PNG image:\n
<img src="http://img.shields.io/badge/license-MIT-brightgreen.png" alt="MIT license"/>

*/