Retrieve the URL to the object's social image for the "twitter:image" meta-property.

@return string|null
970037
public function twitterCardImage()
    {
        $context = $this->contextObject();

        $img = null;
        if ($context instanceof HasTwitterCardInterface) {
            $img = (string)$context['twitter_card_image'];
        }

        if (!$img) {
            $img = (string)$this->fallbackTwitterCardImage();
        }

        if ($img) {
            $uri = $this->baseUrl();
            return $uri->withPath(strval($img));
        }

        return $this->metaImage();
    }
119907
public function getAvatarImage(): ?ImageMedium
    {
        $avatars = $this->get('avatar');
        if (\is_array($avatars) && $avatars) {
            $avatar = array_shift($avatars);

            $media = $this->getMedia();
            $name = $avatar['name'] ?? null;

            $image = $name ? $media[$name] : null;
            if ($image instanceof ImageMedium) {
                return $image;
            }
        }

        return null;
    }
100063
public function getUrlAttribute()
    {
        if ($this->disk == 'public') {
            return url($this->storage->url($this->path));
        }

        return config('media.download', false) ? url(str_finish(config('media.download'), '/') . $this->id) : null;
    }
1168528
public function getUrl()
    {
        // Ensure in request cycle (even for override).
        if ($this->request === null) {
            return null;
        }

        // Ensure request has been matched
        if (!$this->request->attributes->get('_route')) {
            return null;
        }

        if ($this->override) {
            $this->resolveCurrentOverride();

            return (string) $this->override;
        }

        return $this->urlGenerator->generate(
            $this->request->attributes->get('_route'),
            $this->request->attributes->get('_route_params'),
            UrlGeneratorInterface::ABSOLUTE_URL
        );
    }
1318497
public function getUrl()
    {
        $urlParts = array_filter([$this->domain, $this->getNickname()]);

        return count($urlParts) ? implode('/', $urlParts) : null;
    }
610906
public function getThumbUrl()
    {
        if (($sIcon = $this->oxcategories__oxthumb->value)) {
            $sSize = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('sCatThumbnailsize');

            return \OxidEsales\Eshop\Core\Registry::getPictureHandler()->getPicUrl("category/thumb/", $sIcon, $sSize);
        }
    }
151545
public function getUrl()
    {
        $path = $this->getPublicPath();

        $url = $this->getDiskConfig('url');

        if ($url) {
            if ($this->isInWebroot()) {
                $path = $this->media->getDiskPath();
            }

            return rtrim($url, '/').'/'.trim($path, '/');
        }

        return $this->url->asset($path);
    }
1089608
public function getPictureUrl()
    {
        if ($this->_sDynImageDir === null) {
            $sThisShop = $this->oxcategories__oxshopid->value;
            $this->_sDynImageDir = \OxidEsales\Eshop\Core\Registry::getConfig()->getPictureUrl(null, false, null, null, $sThisShop);
        }

        return $this->_sDynImageDir;
    }
812904
public function getPageIconURL()
    {
        $icon = $this->config()->get('icon');
        if (!$icon) {
            return null;
        }
        if (strpos($icon, 'data:image/') !== false) {
            return $icon;
        }

        // Icon is relative resource
        $iconResource = ModuleResourceLoader::singleton()->resolveResource($icon);
        if ($iconResource instanceof ModuleResource) {
            return $iconResource->getURL();
        }

        // Full path to file
        if (Director::fileExists($icon)) {
            return ModuleResourceLoader::resourceURL($icon);
        }

        // Skip invalid files
        return null;
    }
974215
public function getUrl()
    {
        if($this->storage)
        {
            $this->save();

            return $this->storage->getUrl($this);
        }

        return NULL;
    }
1133024
protected function getUploadedImage()
    {
        if ($this->getMappingResultsForProperty()->hasErrors()) {
            return null;
        }
        $image = $this->getPropertyValue();
        if ($image instanceof Image) {
            return $image;
        }
        return $this->propertyMapper->convert($this->getValueAttribute(), Image::class);
    }
653375
public function getImageUrl()
    {
        $config = \OxidEsales\Eshop\Core\Registry::getConfig();
        $url = $config->getCurrentShopUrl() . 'modules/oe/captcha/core/utils/verificationimg.php?e_mac=';
        $key = $config->getConfigParam('oecaptchakey');

        $key = $key ? $key : $config->getConfigParam('sConfigKey');

        $encryptor = new \OxidEsales\Eshop\Core\Encryptor();
        $url .= $encryptor->encrypt($this->getText(), $key);

        return $url;
    }
327350
public function getAvatar(){
		//Get User picture
		$params = array(/*'access_token'=>$this->access_token,*/'height'=>512,'width'=>512,'redirect'=>0,'type'=>'square');
		$userPicture = $this->get('https://graph.facebook.com/'.$this->userInfo['id'].'/picture', $params);
		if(!isset($userPicture['data'])) {
			BLog::addToLog('[Social.FB] User photo is not set!',LL_ERROR);
			return false;
			}
		$result=$userPicture['data']['url'];
		return $result;
		}
1142494
public function getUrl()
	{
		$commentable = $this->commentable;

		$url = false;
		if (method_exists($commentable, 'getUrl'))
		{
			$url = $commentable->getUrl();
		}

		return \URL::to($url.'#C'.$this->id);
	}
175136
public function getMainUrlFromName($social)
    {
        foreach ($this->getDefinitions() as $domain => $name) {

            if ($name == $social) {

                return $domain;
            }
        }
        return null;
    }
322985
public function getOGImage()
    {
        $config = $this->getSiteConfig();
        
        if (($image = $this->owner->MetaImage) && $image->exists()) {
            return $image->AbsoluteURL;
        }
        
        if ($config->AppIconLargeID && $config->AppIconLarge()->exists()) {
            return $config->AppIconLarge()->AbsoluteURL;
        }
    }
831855
public function Image()
    {
        if ($this->ActionImage()) {
            return $this->ActionImage();
        }
        if ($this->Type == 'SiteTree') {
            return $this->SiteTree()->ActionImage();
        }
    }