To handle pictures better, I use following macro:
#macro(picture $img, $width)
<a href="/xwiki/bin/download/$doc.space/$doc.name/$img">{image:$img|
width=$width}</a>#end
Width parameter is optional, fixed width or percents can be used. And
user is able to click on picture to see bigger picture.
See
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial
for more info about macros.
Valdis