add img renderer. refactor sourceData processing