   TODO Do not subtitute image when page is scrolling
   ###
   class Image extends widgets.Widget
+
+    this.IMAGE_LOAD_EVENT = "imageload"
+    this.IMAGE_ERROR_EVENT = "imageerror"
 
     this.widgetName "Image"
 

            .height(options.height)
            .width(options.width)
            .attr(SRC, self._src)
        img.onerror = (e) ->
          element.removeClass(loadingClass)
          if options.fallbackSrc

            image.attr(SRC, options.fallbackSrc)
          else
            image.attr(SRC, self._src)
          self.emit(cls.IMAGE_ERROR_EVENT)
        img.src = self._src
      else
        self._image.attr SRC, self._src
