Got the parser to work with images