public static function img($path, $extensionId = null) {
        if (is_null($extensionId)) {
            $extensionId = \Context::getInstance()->getExtensionName();
        }

        return self::getAssetService()->getAsset('img/'.$path, $extensionId);
    }
public static function img($path, $extensionId = null) {
        if (is_null($extensionId)) {
            $extensionId = \Context::getInstance()->getExtensionName();
        }

        return self::getAssetService()->getAsset('img/'.$path, $extensionId);
    }
public static function img ( $ path , $ extensionId = null ) { if ( is_null ( $ extensionId ) ) { $ extensionId = \ Context :: getInstance ( ) -> getExtensionName ( ) ; } return self :: getAssetService ( ) -> getAsset ( 'img/' . $ path , $ extensionId ) ; }
Expects a relative url to the image as path
if extension name is omitted the current extension is used

@param string $path
@param string $extensionId
@return string
Expects a relative url to the image as path if extension name is omitted the current extension is used