@RoySegall instead of strip_tags() lets preg_replace() the ``<img />`` out.