PSL-Infrastructure icon indicating copy to clipboard operation
PSL-Infrastructure copied to clipboard

Preserve original dimensions in user logos

Open MaxGhenis opened this issue 1 year ago • 5 comments

e.g. these get scrunched

https://pslmodels.org/users.html

image

MaxGhenis avatar Mar 06 '24 03:03 MaxGhenis

Good catch, @MaxGhenis.

@fox8090 Any suggestions on how this could be done?

jdebacker avatar Mar 08 '24 03:03 jdebacker

This also happens on the Catalog page. E.g., Screenshot 2024-03-09 at 10 44 47 PM

jdebacker avatar Mar 10 '24 03:03 jdebacker

Re the news outlets, which seem to be affected the most: we could pull alternative logos for those with the longer names. E.g., image

and

image

and

image

jdebacker avatar Mar 10 '24 04:03 jdebacker

PR #317 makes progress on this for the model catalog cards.

Something similar could be adapted to user logos, although in that case, perhaps setting a maximum for height of the image makes more sense.

jdebacker avatar Mar 11 '24 12:03 jdebacker

Implemented enhancements and fixes addressing this issue. Details and discussion can be found in PR #321.

fox8090 avatar Mar 30 '24 08:03 fox8090