Check for Image File Type.