classes/Fields/Image.php
public function wrapAndRender()
    {
        // Get additional UI first so it can modify the normal form-group UI.
        $html = $this->renderEditor();

        // Add the aspect ratio choice
        $this->group->dataAspectRatio($this->ratio ?: false);

        // Set errors
        $this->showErrors();

        // Inform whether there is an existing image to preview
        if ($this->hasImage()) {
            $this->group->addClass('has-image');
        }

        // Add extra markup
        return $this->appendToGroup(parent::wrapAndRender(), $html);
    }
public function wrapAndRender()
    {
        // Get additional UI first so it can modify the normal form-group UI.
        $html = $this->renderEditor();

        // Add the aspect ratio choice
        $this->group->dataAspectRatio($this->ratio ?: false);

        // Set errors
        $this->showErrors();

        // Inform whether there is an existing image to preview
        if ($this->hasImage()) {
            $this->group->addClass('has-image');
        }

        // Add extra markup
        return $this->appendToGroup(parent::wrapAndRender(), $html);
    }
public function wrapAndRender ( ) { // Get additional UI first so it can modify the normal form-group UI. $ html = $ this -> renderEditor ( ) ; // Add the aspect ratio choice $ this -> group -> dataAspectRatio ( $ this -> ratio ? : false ) ; // Set errors $ this -> showErrors ( ) ; // Inform whether there is an existing image to preview if ( $ this -> hasImage ( ) ) { $ this -> group -> addClass ( 'has-image' ) ; } // Add extra markup return $ this -> appendToGroup ( parent :: wrapAndRender ( ) , $ html ) ; }
Prints out the field, wrapped in its group.  Additional review UI is tacked
on here.

@return string
Prints out the field wrapped in its group . Additional review UI is tacked on here .