1
0
Fork 0
Commit graph

6 commits

Author SHA1 Message Date
kontrollanten
d0800f7661
Implement avatar miniatures (#4639)
* client: remove unused file

* refactor(client/my-actor-avatar): size from input

Read size from component input instead of scss, to make it possible to
use smaller avatar images when implemented.

* implement avatar miniatures

close #4560

* fix(test): max file size

* fix(search-index): normalize res acc to avatarMini

* refactor avatars to an array

* client/search: resize channel avatar to 120

* refactor(client/videos): remove unused function

* client(actor-avatar): set default size

* fix tests and avatars full result

When findOne is used only an array containting one avatar is returned.

* update migration version and version notations

* server/search: harmonize normalizing

* Cleanup avatar miniature PR

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-02-28 08:34:43 +01:00
Chocobozzz
136d7efde7
Refactor AP actors 2021-06-03 16:40:32 +02:00
Chocobozzz
84531547bc
Add size info in db for actor images 2021-04-08 13:38:04 +02:00
Chocobozzz
213e30ef90 Add banner tests 2021-04-08 10:07:53 +02:00
Chocobozzz
2cb03dc1f4 Add banners support 2021-04-08 10:07:53 +02:00
Chocobozzz
f479685678 Agnostic actor image storage 2021-04-08 10:07:53 +02:00
Renamed from server/lib/avatar.ts (Browse further)