Added support for inline images

this closes issue http://issue.plugcubed.net/plug3/issues/54