Match images given as anonymous template parameters as well