/** * Make a thumb image. * * @internal */ public function thumb() { $this->width = Request::getIntParam('width', 100); $this->height = Request::getIntParam('height', 100); $this->cropimage = Request::getBoolParam('cropimage', false); $this->processing = true; $this->stats_disable = true; $this->path_sendfile = sprintf(Application::$CACHE_ROOT . 'thumb/%s/%s_%sx%s.thumb', $this->sid[0], $this->sid, $this->width, $this->height); $this->download(); }