Fix user profile image size
This commit is contained in:
parent
4b4032be6f
commit
ef910c53b7
@ -64,7 +64,7 @@ class ProfilePage(FormView):
|
||||
if isinstance(image, File):
|
||||
self.request.identity.image.save(
|
||||
image.name,
|
||||
self.resize_image(image, size=(400, 400)),
|
||||
self.resize_image(image, size=(1500, 500)),
|
||||
)
|
||||
self.request.identity.save()
|
||||
return redirect(".")
|
||||
|
Reference in New Issue
Block a user