public function getImgTag($relativeName, $filter)
    {
        $imgUrlHelper = $this->getView()->plugin('HtImgModule\View\Helper\ImgUrl');
        $this->attributes['src'] = $imgUrlHelper($relativeName, $filter);;
        $html = '<img'
            . $this->htmlAttribs($this->getAttributes())
            . $this->getClosingBracket();

        return $html;
    }
public function getImgTag($relativeName, $filter)
    {
        $imgUrlHelper = $this->getView()->plugin('HtImgModule\View\Helper\ImgUrl');
        $this->attributes['src'] = $imgUrlHelper($relativeName, $filter);;
        $html = '<img'
            . $this->htmlAttribs($this->getAttributes())
            . $this->getClosingBracket();

        return $html;
    }
public function getImgTag ( $ relativeName , $ filter ) { $ imgUrlHelper = $ this -> getView ( ) -> plugin ( 'HtImgModule\View\Helper\ImgUrl' ) ; $ this -> attributes [ 'src' ] = $ imgUrlHelper ( $ relativeName , $ filter ) ; ; $ html = '<img' . $ this -> htmlAttribs ( $ this -> getAttributes ( ) ) . $ this -> getClosingBracket ( ) ; return $ html ; }
Return valid HTML image tag

@param  string $relativeName
@param  string $filter
@return string
Return valid HTML image tag