added the worst impl of inline images. sorry.

Ok its not really that bad