working showedgesimage