/** * getRemoteUrl * * @param string $path * * @return string */ public function getRemoteUrl($path) { if (!File::getExtension($path)) { $img = $this->imgur->image($path); return $img->link; } return static::getHost() . '/' . $path; }