retrieve correct image