r9Img refactoring