public function isPDFEmbeddable() { return $this->type == 'jpeg' || $this->type == 'png' || $this->preview; }