Check for image file types