application/modules/g/views/helpers/Image.php
public function getSourceUrl($filename) {
        if (!$this->_isFilename($filename)) {
            throw new Exception(self::ERROR_ARGUMENT_IS_NOT_FILENAME);
        }
        $file = new Garp_Image_File();
        return $file->getUrl($filename);
    }
public function getSourceUrl($filename) {
        if (!$this->_isFilename($filename)) {
            throw new Exception(self::ERROR_ARGUMENT_IS_NOT_FILENAME);
        }
        $file = new Garp_Image_File();
        return $file->getUrl($filename);
    }
public function getSourceUrl ( $ filename ) { if ( ! $ this -> _isFilename ( $ filename ) ) { throw new Exception ( self :: ERROR_ARGUMENT_IS_NOT_FILENAME ) ; } $ file = new Garp_Image_File ( ) ; return $ file -> getUrl ( $ filename ) ; }
Returns the url to the source file of an upload.

@param string $filename The filename of the upload, without the path.
@return string
Returns the url to the source file of an upload .