issue #959 - Made FlagImage work as a data tool.