Your should publish your assets first, then use this url. Add this code in your module:
class YourModule extends CWebModule
{
private $_assetsUrl;
public function getAssetsUrl()
{
if ($this->_assetsUrl === null)
$this->_assetsUrl = Yii::app()->getAssetManager()->publish(__DIR__ . '/assets', false, -1, true);
return $this->_assetsUrl;
}
Then use this url:
$assets = $this->module->getAssetsUrl();
echo $assets . '/images/logo.jpg'