refactored image (editor) socket