auto loading of image after entering editor mode