src/View/Helper/DompdfHelper.php
public function image($path, $options = []) {

    	$options['src'] = "img/{$path}";
    	$options['alt'] = (isset($options['alt'])) ? $options['alt'] : '';

    	return $this->Html->tag('img', null, $options);
    }
public function image($path, $options = []) {

    	$options['src'] = "img/{$path}";
    	$options['alt'] = (isset($options['alt'])) ? $options['alt'] : '';

    	return $this->Html->tag('img', null, $options);
    }
Générate an image
@param  string $path : Path to the image file, relative to the app/webroot/img/ directory
@param  array  $options : Array of HTML attributes
@return string <img>