mirror of
https://github.com/friendica/friendica
synced 2025-09-02 20:45:03 +02:00
Add more BlurHash to avoid not being able to display some picture
This commit is contained in:
parent
183e9dc7b2
commit
bf7df13855
9 changed files with 101 additions and 28 deletions
|
@ -90,6 +90,8 @@ class Avatar
|
|||
$filename = self::getFilename($contact['url']);
|
||||
$timestamp = time();
|
||||
|
||||
$fields['blurhash'] = $image->getBlurHash();
|
||||
|
||||
$fields['photo'] = self::storeAvatarCache($image, $filename, Proxy::PIXEL_SMALL, $timestamp);
|
||||
$fields['thumb'] = self::storeAvatarCache($image, $filename, Proxy::PIXEL_THUMB, $timestamp);
|
||||
$fields['micro'] = self::storeAvatarCache($image, $filename, Proxy::PIXEL_MICRO, $timestamp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue