Fixed img tags broken since PHP 5.5 patch

Signed-off-by: jdarwood007 <github2@sleepycode.com>
Merge pull request #667 from jdarwood007/php5.5-img-fix

Fixed img tags broken since PHP 5.5 patch