Set the thumbnail img src value.

@param string $src
558637
public function setThumbnailSrc($src)
    {
        $this->thumbnail->setAttr(['src' => $src]);
        $action = $this->thumbnail->js();
        $action->attr('src', $src);
        $this->addJSAction($action);
    }
856255
public static function frameImageOne($field, $title, $src, $value = '')
    {
        return self::frame($field, $title, $src, (string)$value, Frame::TYPE_IMAGE);
    }
1263394
public function setArchived($value)
    {
        $this->_validateNotNull('Archived', $value);
        $this->_validateInt('Archived', $value);

        if ($this->data['archived'] === $value) {
            return;
        }

        $this->data['archived'] = $value;

        $this->_setModified('archived');
    }
645302
public function addImage($src, $thumb="", $title = "", $caption="", $width="", $height="")
	{
		$this->addXmlnukeObject(XmlnukeMediaItem::ImageFactory($src, $thumb, $title, $caption, $width, $height));
	}
290435
public function image($src, $attr = array())
    {
        $src = $this->Assets->getImage($src);
        $attr['src'] = $src;
        return $this->tag('img', $attr);
    }
1222089
public void setImage(String src) {
        if (src == null) {
            throw new RuntimeException("Cannot set image to null. Call removeImage() if you wanted to remove the image");
        }

        if (imageElem == null) {
            imageElem = Document.get().createImageElement();
            // must be first child according to jquery.mobile-1.4.x.css
            if (anchor != null) anchor.insertFirst(imageElem);
            else insertFirstChild(imageElem);
        }
        imageElem.setAttribute("src", src);
        getElement().addClassName(STYLE_UI_LI_HAS_THUMB);
    }
425971
private function transparentImage($src)
	{
		// *** making images with white bg transparent
		$r1 = 0;
		$g1 = 255;
		$b1 = 0;
		for ($x = 0; $x < imagesx($src); ++$x)
		{
			for ($y = 0; $y < imagesy($src); ++$y)
			{
				$color = imagecolorat($src, $x, $y);
				$r = ($color >> 16) & 0xFF;
				$g = ($color >> 8) & 0xFF;
				$b = $color & 0xFF;
				for ($i = 0; $i < 270; $i++)
				{
					//if ($r . $g . $b == ($r1 + $i) . ($g1 + $i) . ($b1 + $i)) {
					if ($r == 0 && $g == 255 && $b == 0)
					{
						//if ($g == 255) {
						$trans_colour = imagecolorallocatealpha($src, 0, 0, 0, 127);
						imagefill($src, $x, $y, $trans_colour);
					}
				}
			}
		}

		return $src;
	}
612057
public static function copyr($src, $dst)
    {
        $dir = opendir($src);
        GeneratorHelper::createDir($dst);
        while (false !== ($file = readdir($dir))) {
            if (($file != '.') && ($file != '..')) {
                if (is_dir($src . '/' . $file)) {
                    self::copyr($src . '/' . $file, $dst . '/' . $file);
                } elseif (@copy($src . '/' . $file, $dst . '/' . $file) === false) {
                    throw new ConfigException("Can't copy " . $src . " to " . $dst);
                }
            }
        }
        closedir($dir);
    }
1300440
public function addItem($src, $thumbnail=''){
        if(!$src) {
            return $this; 
        }

        if(!$this->data['list']) {
            $this->data['list'] = [];
        }

        $item = [];
        $item['src'] = $src;
        if($thumbnail) {
            $item['thumbnail'] = $thumbnail;
        }

        $this->data['list'][] = $item;
        return $this;
    }
1312188
public function setSource( $source )
	{
		if( !file_exists( $source ) )
			throw new InvalidArgumentException( 'Image File "'.$source.'" is not existing.' );
		$size = @getimagesize( $source );
		if( !$size )
			throw new Exception( 'Source File "'.$source.'" is not a supported Image.' );
		$this->size		= $size;
		$this->source	= $source;
	}
785932
public static function imageThumbnail($src, $alt = '', $htmlOptions = array())
    {
        $htmlOptions['type'] = self::IMAGE_TYPE_THUMBNAIL;
        return self::image($src, $alt, $htmlOptions);
    }
245351
public function load($src)
    {
        if (empty($src)) {
            return $this;
        }

        if ($this->isImageStringByString($src)) {
            $this->loadImageFromString($src);
        } elseif (filter_var($src, FILTER_VALIDATE_URL)) {
            $this->loadImageFromURL($src);
        } elseif (is_file($src)) {
            $this->loadImageFromFile($src);
        }

        return $this;
    }
76512
public function clearThumbnail($defaultThumbnail = null)
    {
        $action = $this->thumbnail->js();
        if (isset($defaultThumbnail)) {
            $action->attr('src', $defaultThumbnail);
        } else {
            $action->removeAttr('src');
        }
        $this->addJSAction($action);
    }
767029
private function AssignFrom( $src )
	{
		$this->index = $src->index;
		$this->itemSet = $src->itemSet;
		$this->lastNode = $src->lastNode;
		$this->allowSameElementRepeat = $src->allowSameElementRepeat;
	}
292414
public function setPhoto($src, $href = null)
    {
        if (isset($href)) {
            $this->photo = new Link(new Image($src), $href);
        } else {
            $this->photo = new Image($src);
        }

        return $this;
    }
573341
public function thumbnailAction(Thumbnail $thumbnail)
    {
        if ($thumbnail->getResource() === null && $thumbnail->getStaticResource() === null) {
            $this->thumbnailService->refreshThumbnail($thumbnail);
        }
        $this->redirectToUri($this->thumbnailService->getUriForThumbnail($thumbnail), 0, 302);
    }
948679
public static function image($src, $options = [])
    {
        Html::addCssClass($options, 'ui ' . ArrayHelper::remove($options, 'class') . ' image');
        return Html::img($src, $options);
    }