Updated ScanAll to enable scanning all photos

This commit is contained in:
Deon George
2019-11-09 14:58:15 +11:00
parent 83d6d1e055
commit bd5fb5d46f
3 changed files with 47 additions and 42 deletions

View File

@@ -192,6 +192,7 @@ class Photo extends Abstracted\Catalog
$this->thumbnail = exif_thumbnail($this->file_path());
} catch (\Exception $e) {
// @todo Couldnt get the thumbnail, so we should create one.
Log::info(sprintf('Unable to create thumbnail for %s (%s)',$this->id,$e->getMessage()));
}
}