fix for relative paths in image macro: now works when a document is included as part of a weblog.
note: we might need to do this with the snip include macro as well.