public function imageField(IFormModel $model, $property, array $options = [])
    {
        $element = $this->getField($model, $property);
        $options['id'] = $element['id'];
        $image = !empty($options['image']) ? $options['image'] : [];

        return Html::imageField($element['name'], $element['value'], $image, $options);
    }
public function imageField(IFormModel $model, $property, array $options = [])
    {
        $element = $this->getField($model, $property);
        $options['id'] = $element['id'];
        $image = !empty($options['image']) ? $options['image'] : [];

        return Html::imageField($element['name'], $element['value'], $image, $options);
    }
public function imageField ( IFormModel $ model , $ property , array $ options = [ ] ) { $ element = $ this -> getField ( $ model , $ property ) ; $ options [ 'id' ] = $ element [ 'id' ] ; $ image = ! empty ( $ options [ 'image' ] ) ? $ options [ 'image' ] : [ ] ; return Html :: imageField ( $ element [ 'name' ] , $ element [ 'value' ] , $ image , $ options ) ; }
Render image field tag

@access public

@param IFormModel $model model
@param string $property model property
@param array $options attributes array

@return string
Render image field tag