mirror of https://github.com/zulip/zulip.git
fca61b2031
This adds a medium (500px) size avatar thumbnail, that can be referenced as `{name}-medium.png`. It is intended to be used on the user's own settings page, though we may come up with other use cases for high-resolution avatars in the future. This will automatically generate and upload the medium avatar images when a new avatar original is uploaded, and contains a migration (contributed by Kirill Kanakhin) to ensure all pre-existing avatar images have a medium avatar. Note that this implementation does not provide an endpoint for fetching the medium-size avatar for another user. [substantially modified by tabbott] |
||
---|---|---|
.. | ||
fixtures | ||
lib | ||
management | ||
migrations | ||
templatetags | ||
tests | ||
views | ||
worker | ||
__init__.py | ||
context_processors.py | ||
decorator.py | ||
exceptions.py | ||
filters.py | ||
forms.py | ||
logging_handlers.py | ||
middleware.py | ||
models.py | ||
static_header.txt | ||
storage.py | ||
tornadoviews.py |