library/core/class.form.php
public function CurrentImage($FieldName, $Attributes = array()) {
      $Result = $this->Hidden($FieldName);
      
      $Value = $this->GetValue($FieldName);
      if ($Value) {
         TouchValue('class', $Attributes, 'CurrentImage');
         $Result .= Img(Gdn_Upload::Url($Value), $Attributes);
      }
      
      return $Result;
   }
public function CurrentImage($FieldName, $Attributes = array()) {
      $Result = $this->Hidden($FieldName);
      
      $Value = $this->GetValue($FieldName);
      if ($Value) {
         TouchValue('class', $Attributes, 'CurrentImage');
         $Result .= Img(Gdn_Upload::Url($Value), $Attributes);
      }
      
      return $Result;
   }
public function CurrentImage ( $ FieldName , $ Attributes = array ( ) ) { $ Result = $ this -> Hidden ( $ FieldName ) ; $ Value = $ this -> GetValue ( $ FieldName ) ; if ( $ Value ) { TouchValue ( 'class' , $ Attributes , 'CurrentImage' ) ; $ Result .= Img ( Gdn_Upload :: Url ( $ Value ) , $ Attributes ) ; } return $ Result ; }
Returns the current image in a field.
This is meant to be used with image uploads so that users can see the current value.

@param type $FieldName
@param type $Attributes
@since 2.1
Returns the current image in a field . This is meant to be used with image uploads so that users can see the current value .