add metadata based image lookup