[ticket/13163] Check for images

PHPBB3-13163