added image handling to tw2parser