After pushing images into the wiki repository (clone, add images, push), you can use relative paths like so:

[[foo.jpg]]

For more info, see the demo wiki’s page on images.

Update (2012-05-02): This is part of my answer on StackOverflow.