check image name