timomeinen / team-piazza

A build monitor for the TeamCity continuous integration server
GNU General Public License v3.0
17 stars 7 forks source link

User images should be resized to a max size. #54

Closed frankbregulla1111 closed 8 years ago

frankbregulla1111 commented 10 years ago

Currently users can configure images which are rather large and thus prevent that all builds fit on the monitor. It should be possible to configure the max size of a user image and automatically resize to this size.

timomeinen commented 10 years ago

When using the Gravatar feature of TP, the images are already resized. But good point, we have to implement this for the other images, too.

On Wednesday, 2. April 2014 at 10:07, Frank Bregulla wrote:

Currently users can configure images which are rather large and thus prevent that all builds fit on the monitor. It should be possible to configure the max size of a user image and automatically resize to this size.

— Reply to this email directly or view it on GitHub (https://github.com/timomeinen/team-piazza/issues/54).

timomeinen commented 8 years ago

Hi Frank, I created a new settings entry to define a maximum size for the portraits. It is limited to a maximum of 512px due to a limitation when using Gravatar. However, these sizes should fit most of the monitors. ;-) Hope this helps. Could you test the current build for me, please?

bildschirmfoto 2015-10-20 um 19 51 57
timomeinen commented 8 years ago

https://github.com/timomeinen/team-piazza/releases/tag/team-piazza-1.5

frankbregulla1111 commented 8 years ago

Hi Timo, this works perfectly. Thank you!