/** * * get thumb url */ public function getUrlImageThumb() { //get image url by thumb if (!empty($this->imageID)) { $urlImage = RevSliderFunctionsWP::getUrlAttachmentImage($this->imageID, RevSliderFunctionsWP::THUMB_MEDIUM); } else { //get from cache if (!empty($this->imageFilepath)) { $urlImage = RevSliderBase::getImageUrl($this->imageFilepath, 200, 100, true); } else { $urlImage = $this->imageUrl; } } if (empty($urlImage)) { $urlImage = $this->imageUrl; } return $urlImage; }