Improve photo loading speed

This commit is contained in:
Michael 2020-12-26 18:51:36 +00:00
parent 3ed4f427bf
commit 7f56e2e7a9
7 changed files with 103 additions and 29 deletions

View file

@ -305,6 +305,7 @@ class Photo
"contact-id" => $cid,
"guid" => $guid,
"resource-id" => $rid,
"hash" => md5($Image->asString()),
"created" => $created,
"edited" => DateTimeFormat::utcNow(),
"filename" => basename($filename),