public function imageTag($filename, $attributes)
    {
        $absolutePath = $this->file($filename);
        $webPath = $this->parser->absolutePathToWebPath($absolutePath);

        $config = $this->getConfig();
        $composer = $config['image_tag'];

        return $composer->process(array($webPath), array($absolutePath), $attributes);
    }
public function imageTag($filename, $attributes)
    {
        $absolutePath = $this->file($filename);
        $webPath = $this->parser->absolutePathToWebPath($absolutePath);

        $config = $this->getConfig();
        $composer = $config['image_tag'];

        return $composer->process(array($webPath), array($absolutePath), $attributes);
    }
public function imageTag ( $ filename , $ attributes ) { $ absolutePath = $ this -> file ( $ filename ) ; $ webPath = $ this -> parser -> absolutePathToWebPath ( $ absolutePath ) ; $ config = $ this -> getConfig ( ) ; $ composer = $ config [ 'image_tag' ] ; return $ composer -> process ( array ( $ webPath ) , array ( $ absolutePath ) , $ attributes ) ; }
Create image tag

@param  string $filename
@param  array $attributes
@return string
Create image tag