wouldn't is be easier to use ```strpos($image, '/.') === false`