Last updated:

External images

External image with width set

![](//publ.beesbuzz.biz/static/images/IMG_0377.jpg{250} "so smol")

External image with height set

![](//publ.beesbuzz.biz/static/images/IMG_0377.jpg{height=250} "less smol")

External image with width and height set, with different scaling modes:

![{320,320,div_class="gallery",gallery_id="sizing"}](
//publ.beesbuzz.biz/static/images/IMG_0377.jpg "fit"
| //publ.beesbuzz.biz/static/images/IMG_0377.jpg{resize="fill"} "fill"
| //publ.beesbuzz.biz/static/images/IMG_0377.jpg{resize="stretch"} "stretch")

Image using static path

![{640,link='@images/IMG_0377.jpg'}](@images/IMG_0377.jpg)

Force absolute URLs

![{640,320,absolute=True}](//publ.beesbuzz.biz/static/images/IMG_0377.jpg | @images/IMG_0377.jpg)

Local images

alt text

![alt text](rawr.jpg "test single image")

alt textalt textalt text

![alt text](
rawr.jpg{width=240} "test lightbox" |
rawr.jpg{width=120} |
rawr.jpg "image 3"
)

alt text

![alt text](rawr.jpg "test single image")

Mixed-content gallery

such gallerysuch gallerysuch gallerysuch gallery

![such gallery{255,gallery_id="rawry"}](rawr.jpg | rawr.jpg{fullscreen_width=50} "Rawr!" | rawr.jpg{100}
| //publ.beesbuzz.biz/static/images/IMG_0377.jpg)

PNG transparency

Base image:

![](notsmiley.png)

converted to jpeg, no background:

![](notsmiley.png{format="jpg"})

converted to jpeg, black background:

![](notsmiley.png{format="jpg",background="black"})

converted to jpeg, red background using a tuple:

![](notsmiley.png{format="jpg",background=(255,0,0)})

converted to jpeg, white background using hex code:

![](notsmiley.png{format="jpg",background='#fff'})

converted to jpeg, cyan background, multiple qualities on the spectrum:

![{256,background='cyan',format='jpg'}](
notsmiley.png{quality=1} "quality 1"
| notsmiley.png{quality=50} "quality 50"
| notsmiley.png{quality=99} "quality 99"
| notsmiley.png "quality default"
)

Broken/parse failures

Image not found: missingfile.jpg ![broken image](missingfile.jpg)

Couldn’t parse image spec: foo{123[]} invalid syntax (<unknown>, line 1) ![broken spec](foo{123[]})

Couldn’t parse image spec: poiu{100} foo{200} invalid syntax (<unknown>, line 1) ![broken spec](poiu{100} foo{200})

Image not found: rawr.jpg rawr.jpg (Did you forget a |?) ![broken imageset](rawr.jpg rawr.jpg)

Image not found: rawr.jpg "title rawr" rawr.jpg (Did you forget a |?) ![broken imageset](rawr.jpg rawr.jpg)