src/Form/Renderer/Inline.php
public function image(Form\Element\Image $element)
    {

        $element->addStyle('object-fit', 'cover !important;');
        $element->addAttribute('src', $element->getValue());

        $html = '<label class="col-md-3 control-label">' . $element->getLabel() . '</label>';
        $html .= '<div class="col-md-9"><p class="form-control-static">' . html('img', $element->getAttributes()) . '</p></div>';

        $class =  Style::FORM_GROUP_CLASS . ' row';
        return html('div', compact('class'), $html);
    }
public function image(Form\Element\Image $element)
    {

        $element->addStyle('object-fit', 'cover !important;');
        $element->addAttribute('src', $element->getValue());

        $html = '<label class="col-md-3 control-label">' . $element->getLabel() . '</label>';
        $html .= '<div class="col-md-9"><p class="form-control-static">' . html('img', $element->getAttributes()) . '</p></div>';

        $class =  Style::FORM_GROUP_CLASS . ' row';
        return html('div', compact('class'), $html);
    }
public function image ( Form \ Element \ Image $ element ) { $ element -> addStyle ( 'object-fit' , 'cover !important;' ) ; $ element -> addAttribute ( 'src' , $ element -> getValue ( ) ) ; $ html = '<label class="col-md-3 control-label">' . $ element -> getLabel ( ) . '</label>' ; $ html .= '<div class="col-md-9"><p class="form-control-static">' . html ( 'img' , $ element -> getAttributes ( ) ) . '</p></div>' ; $ class = Style :: FORM_GROUP_CLASS . ' row' ; return html ( 'div' , compact ( 'class' ) , $ html ) ; }
Render Image input

@param \FrenchFrogs\Form\Element\Label $element
@return string
Render Image input