Use the stack in CKeditor, when inserting images or links.