editor to reload image correctly