refactored img helper class
added icon
improved boolean result