body)) { return; } $bodyPath = storage_path('app/'.$this->document->getStoragePath().'/body'); $this->details = exif_read_data($bodyPath, null, true, true); if (empty($this->details)) { return; } $this->document->description = (string) view('partials.details.image')->with([ 'exif' => $this->details, 'url' => asset(str_replace('public', 'storage', $this->document->getStoragePath()).'/body'), ]); $this->storeDetailsOnDisk(); $this->applyDetailsToDocument(); } }