now can handle reference-style image syntax
Merge pull request #2 from iceout/master

can handle reference-style image syntax now