Quick tweak to strpos logic to check for . on _src and _img