code: @Override
      public void onImage(ResourceReference reference, boolean freestanding, Map<String, String> parameters)
      {
          this.previousEvent = Event.IMAGE;
  
          super.onImage(reference, freestanding, parameters);
      }
docs: {@inheritDoc}
  
  @since 2.5RC1