FML/Script/Features/Preload.php
public function addImageUrl($imageUrl)
    {
        if (!in_array($imageUrl, $this->imageUrls)) {
            array_push($this->imageUrls, $imageUrl);
        }
        return $this;
    }
public function addImageUrl($imageUrl)
    {
        if (!in_array($imageUrl, $this->imageUrls)) {
            array_push($this->imageUrls, $imageUrl);
        }
        return $this;
    }
public function addImageUrl ( $ imageUrl ) { if ( ! in_array ( $ imageUrl , $ this -> imageUrls ) ) { array_push ( $ this -> imageUrls , $ imageUrl ) ; } return $ this ; }
Add an Image Url to preload

@api
@param string $imageUrl Image Url
@return static
Add an Image Url to preload