thumbnailing: Move resizing functions into zerver.lib.thumbnail.

This commit is contained in:
Alex Vandiver
2024-06-12 14:56:41 +00:00
committed by Alex Vandiver
parent 2c5dff7f59
commit 0153d6dbcd
14 changed files with 165 additions and 173 deletions

View File

@@ -9,8 +9,8 @@ from zerver.lib.avatar_hash import (
user_avatar_content_hash,
user_avatar_path_from_ids,
)
from zerver.lib.thumbnail import MEDIUM_AVATAR_SIZE
from zerver.lib.upload import get_avatar_url
from zerver.lib.upload.base import MEDIUM_AVATAR_SIZE
from zerver.lib.url_encoding import append_url_query_string
from zerver.models import UserProfile