library/core/class.form.php
public function ImageUpload($FieldName, $Attributes = array()) {
      $Result = '<div class="FileUpload ImageUpload">'.
         $this->CurrentImage($FieldName, $Attributes).
         $this->Input($FieldName.'_New', 'file').
         '</div>';
      
      return $Result;
   }
public function ImageUpload($FieldName, $Attributes = array()) {
      $Result = '<div class="FileUpload ImageUpload">'.
         $this->CurrentImage($FieldName, $Attributes).
         $this->Input($FieldName.'_New', 'file').
         '</div>';
      
      return $Result;
   }
public function ImageUpload ( $ FieldName , $ Attributes = array ( ) ) { $ Result = '<div class="FileUpload ImageUpload">' . $ this -> CurrentImage ( $ FieldName , $ Attributes ) . $ this -> Input ( $ FieldName . '_New' , 'file' ) . '</div>' ; return $ Result ; }
Return a control for uploading images.

@param string $FieldName
@param array $Attributes
@return string
@since 2.1
Return a control for uploading images .