src/base/ImageProperty.php
public function getValue()
    {
        $value = parent::getValue();
        
        if ($value) {
            $image = Yii::$app->storage->getImage($value);
            /* @var $image \luya\admin\image\Item */
            if ($image) {
                if ($this->filterName()) {
                    return $image->applyFilter($this->filterName())->sourceAbsolute;
                }
                return $image->source;
            }
        }
        
        return false;
    }
public function getValue()
    {
        $value = parent::getValue();
        
        if ($value) {
            $image = Yii::$app->storage->getImage($value);
            /* @var $image \luya\admin\image\Item */
            if ($image) {
                if ($this->filterName()) {
                    return $image->applyFilter($this->filterName())->sourceAbsolute;
                }
                return $image->source;
            }
        }
        
        return false;
    }
public function getValue ( ) { $ value = parent :: getValue ( ) ; if ( $ value ) { $ image = Yii :: $ app -> storage -> getImage ( $ value ) ; /* @var $image \luya\admin\image\Item */ if ( $ image ) { if ( $ this -> filterName ( ) ) { return $ image -> applyFilter ( $ this -> filterName ( ) ) -> sourceAbsolute ; } return $ image -> source ; } } return false ; }
Get the absolute image source of the image, if not available the method returns false.

@return string|boolean Returns the path to the file, otherwise false.
@see \luya\admin\base\Property::getValue()
Get the absolute image source of the image if not available the method returns false .