Answers the default image linked setting.

@return string
169459
public function getDefaultImageLinked()
    {
        if ($method = $this->owner->ImageDefaultLinked) {
            return (boolean) $method;
        }
        
        if ($this->owner->hasExtension(MetaDataExtension::class)) {
            return $this->owner->getFieldFromParent('DefaultImageLinked');
        }
    }
1315363
public function getGravatar()
    {
        $siteConfig = SiteConfig::current_site_config();
        $default = '';
        $gravatarSize = '32';
        if ($siteConfig->DefaultGravatarImageID != 0) {
            $default = urlencode(Director::absoluteBaseURL() . $siteConfig->DefaultGravatarImage()->Link());
        } elseif ($siteConfig->DefaultGravatar != '') {
            $default = urlencode($siteConfig->DefaultGravatar);
        }
        if ($siteConfig->GravatarSize) {
            $gravatarSize = $siteConfig->GravatarSize;
        }

        return '//www.gravatar.com/avatar/' . $this->MD5Email . '?default=' . $default . '&amp;s=' . $gravatarSize;
    }
151078
public function getImageUrl()
    {
        return !$this->hasImage() ?
            $this->getImageDefaultUrl() :
            $this->_imageUrl($this->owner->getAttribute($this->imageAttribute));
    }
1117663
public function getPreviewImageUrl()
    {
        $previewPath = $this->getConfigValue('previewImage', 'assets/images/theme-preview.png');

        if (File::exists($this->getPath().'/'.$previewPath)) {
            return Url::asset('themes/'.$this->getDirName().'/'.$previewPath);
        }

        return Url::asset('modules/cms/assets/images/default-theme-preview.png');
    }
303078
def default(self, value):
        """"""
        self._default = value
        self._thumb  = self._link_to_img()
42960
public function getImage()
    {
        $this->imageWidth = null;
        $this->imageHeight = null;

        $images = $this->images;
        $bigger = (bool) $this->getConfig('choose_bigger_image');
        $minWidth = $this->getConfig('min_image_width', 1);
        $minHeight = $this->getConfig('min_image_height', 1);

        $images = array_filter($images, function ($image) use ($minWidth, $minHeight) {
            return $image['width'] >= $minWidth && $image['height'] >= $minHeight;
        });

        if (empty($images)) {
            return null;
        }

        reset($images);
        $image = current($images);

        if ($bigger) {
            $sizes = [];

            foreach ($images as $img) {
                $sizes[$img['url']] = $img['size'];
            }

            $biggest = static::getBigger($sizes);

            foreach ($images as $img) {
                if ($biggest == $img['url']) {
                    $image = $img;
                    break;
                }
            }
        }

        $this->imageWidth = $image['width'];
        $this->imageHeight = $image['height'];

        return $image['url'];
    }
1353823
public function setRcmDefaultLink()
    {
        if ($this->rcmIsSet) {
            return;
        }

        $view = $this->getView();

        if (!empty($view->site)) {
            $favicon = $view->site->getFavIcon();

            //Add Favicon for site
            if (!empty($favicon)) {
                $item = $this->createData(
                    [
                        'rel' => 'shortcut icon',
                        'type' => 'image/vnd.microsoft.icon',
                        'href' => $view->basePath() . $favicon,
                    ]
                );
                $this->append($item);
            }

            $this->rcmIsSet = true;
        }
    }
414943
public function getThumb()
    {
        $image = $this->node
            ->filter('.item_imagePic .lazyload[data-imgsrc]')
            ->first();

        if (0 === $image->count()) {
            return null;
        }

        $src = $image
            ->attr('data-imgsrc');

        return (string)Http::createFromString($src)->withScheme('https');
    }
1070359
public function gettyimagesToHtml()
    {
        return $this->view('image.gettyimages', [
            'remote_id' => $this->data['remote_id'],
            'width' => $this->config['gettyimages.width'] ?? 594,
            'height' => $this->config['gettyimages.height'] ?? 465,
            'placeholder' => $this->config['gettyimages.placeholder'] ?? '/',
        ]);
    }
318868
public function genImage()
    {
        $this->image = imagecreatetruecolor($this->getPxRatio() * 5, $this->getPxRatio() * 5);

        $bg = $this->getBgColor();
        if (!empty($bg)) {
            $background = imagecolorallocate($this->image, $bg[0], $bg[1], $bg[2]);
            imagefill($this->image, 0, 0, $background);
        } else {
            $transparent = imagecolorallocatealpha($this->image, 255, 255, 255, 127);
            imagefill($this->image, 0, 0, $transparent);
            imagesavealpha($this->image, true);
        }
        $color = $this->getColor();
        $color = imagecolorallocate($this->image, $color[0], $color[1], $color[2]);
        $font = __DIR__.DIRECTORY_SEPARATOR.'\fonts\arial.ttf';
        imagettftext($this->image, $this->getPxRatio() * 3, 0, round(($this->getPxRatio() * 5) / 5.5), round(($this->getPxRatio() * 5) / 1.3), $color, $font, $this->getCharacter());

        return $this->image;
    }
79021
public function getPictureUrl()
    {
        if ($this->oxwrapping__oxpic->value) {
            return \OxidEsales\Eshop\Core\Registry::getConfig()->getPictureUrl("master/wrapping/" . $this->oxwrapping__oxpic->value, false, \OxidEsales\Eshop\Core\Registry::getConfig()->isSsl(), null, $this->oxwrapping__oxshopid->value);
        }
    }
518795
public function LinkOrCurrent()
    {
        $isCurrent = null;
        $this->extend('updateLinkOrCurrent', $isCurrent);
        if ($isCurrent) {
            return $this->config()->get('linking_mode_current');
        } else {
            return $this->config()->get('linking_mode_default');
        }
    }
1211162
public function imageAttachmentLink()
    {
        $output = [];

        if (is_attachment() && wp_attachment_is_image()) {
            $metadata = wp_get_attachment_metadata();
            $output[] = sprintf(
                '<span class="full-size-link"><span class="sr-only">%s</span><a href="%s">%s &times; %s</a></span>',
                _x('Full size', 'Used before full size attachment link', 'novusopress'),
                esc_url(wp_get_attachment_url()),
                $metadata['width'],
                $metadata['height']
            );
        }

        return apply_filters('novusopress_view_image_attachment_link_output', implode('', $output));
    }
552300
public function get_default(): ?string
  {
    if (
      ($id_opt = $this->from_path('default')) &&
      ($all = $this->pref->get_all($id_opt))
    ){
      $id = false;
      foreach ( $all as $a ){
        if ( !empty($a['id_user']) ){
          $id = $a['id_alias'];
          break;
        }
        else if ( !empty($a['id_group']) ){
          $id = $a['id_alias'];
          break;
        }
        else if ( !empty($a['public']) ){
          $id = $a['id_alias'];
          break;
        }
      }
      return $id;
    }
	return null;
  }
301417
protected function _getPicture()
    {
        if (!empty($this->_properties['id'])) {
            $files = ((new Folder(USER_PICTURES))->find($this->_properties['id'] . '\..+'));

            if (!empty($files)) {
                return 'users' . DS . array_values($files)[0];
            }
        }

        //Checks for `webroot/img/no-avatar.jpg`
        if (is_readable(WWW_ROOT . 'img' . DS . 'no-avatar.jpg')) {
            return 'no-avatar.jpg';
        }

        return 'MeCms.no-avatar.jpg';
    }
1050370
public function getMetaImageFolder()
    {
        if ($folder = $this->owner->config()->meta_image_folder) {
            return $folder;
        }
        
        return Config::inst()->get(self::class, 'default_meta_image_folder');
    }
729787
public function getThumbnailsFormat()
    {
        if ($this->thumbnailsFormat === null) {
            $this->setThumbnailsFormat($this->app->make('config')->get('concrete.misc.default_thumbnail_format'));
        }

        return $this->thumbnailsFormat;
    }