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):
|
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(".")
|
||||||
|
|
Loading…
Reference in New Issue