Add checks for Image element.