isImage fixes