Refactoring: common scopes, constants for image url and path