fixed the problem, now the picked image is shown