add isImage tag
displayTree