HaithemMosbahi / ngx-avatar

Universal avatar component for angular 2+ applications makes it possible to fetch / generate avatar from different sources

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BUG. Doesn't keep ratio when image is rectangle.

kamilwasyl opened this issue · comments

I want it to squeeze to be square.

image

both are set like this :

<ngx-avatar src="{{company.logoLink}}" name="{{company.name}}"
initialsSize="3" size="40" [round]="true">

? Any thoughts ? Still a bug

Having the same issue on ionic.

Hey, I think it's not a bug, but just a not implemented feature.

Dealing with the same problem :|
Can't find any workarround.

Hey, I think it's not a bug, but just a not implemented feature.

CSS may be?

You can always use ::ng-deep and customize the styling. That would certainty help you.

@odahcam any examples?

Same problem here.

no solution yet ? having the same problem here