Thread:Extension talk:Widgets/How to pass Mediawiki images into a widget?

I tried to display an image in a widget but the code

doesn't seem to work. It just displays as an alt text. That's all.