Various improvements to avatar management

Description

As discussed after SPARK-1872:

  • Show a warning to the user if the image is smaller than 32px (but accept it regardless).

  • Never make an image bigger, only smaller.

  • Only make an image smaller if it is larger than 96px.

  • Show a warning to the user if the image is not square (but accept it regardless). A visual cropping tool would be awesome, but that's probably hard to implement.

See: https://github.com/igniterealtime/Spark/pull/322

Environment

None

Activity

Show:
Vipin Raj
March 25, 2017, 9:33 AM

OK. That makes sense.

wroot
April 23, 2017, 6:08 PM
Edited

Vipin, we usually mark the issue as fixed after it was merged and tested  

wroot
May 6, 2017, 5:00 PM

Guus has merged it, but there is a side effect. The profile window is not closing after you press Save or Cancel in it. Actually it takes multiple presses of Save or Cancel to make it close.

Vipin Raj
May 7, 2017, 5:24 AM

I think it is an unrelated bug. This problem is not there if we open profile window from File menu.

wroot
May 7, 2017, 8:01 AM

You are right, this is not related to this ticket and previous build also has this issue. But it might still be related to your first patch (maybe). I have filed a separate ticket for this

Fixed

Assignee

Vipin Raj

Reporter

Guus der Kinderen

Expected Effort

None

Ignite Forum URL

None

Fix versions

Affects versions

Priority

Minor