Retrieve correct image template