moved image into getmyloc