display image only if there exists images