add target option to image directive

thx to @esehara
https://github.com/tinbotu/sub/pull/56#issuecomment-66568759