Fix user profile image size

This commit is contained in:
Andrew Godwin 2022-11-20 11:19:51 -07:00
parent 4b4032be6f
commit ef910c53b7
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ class ProfilePage(FormView):
if isinstance(image, File): if isinstance(image, File):
self.request.identity.image.save( self.request.identity.image.save(
image.name, image.name,
self.resize_image(image, size=(400, 400)), self.resize_image(image, size=(1500, 500)),
) )
self.request.identity.save() self.request.identity.save()
return redirect(".") return redirect(".")