question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

avatar aspect ratio

See original GitHub issue

plunkr not working,

but avatars are having their aspect ratios changes (cards and lists):

<img matListAvatar src="..." alt="...">

If my profile pictures aren’t square, they get crushed/distorted into a different aspect ratio.

I’m on latest chrome on mac, using material 2.00-beta.12

“dependencies”: { “@angular/animations”: “^4.4.5”, “@angular/cdk”: “^2.0.0-beta.12”, “@angular/common”: “^4.4.5”, “@angular/compiler”: “^4.4.5”, “@angular/core”: “^4.4.5”, “@angular/forms”: “^4.4.5”, “@angular/http”: “^4.4.5”, “@angular/material”: “^2.0.0-beta.12”, “@angular/platform-browser”: “^4.4.5”, “@angular/platform-browser-dynamic”: “^4.4.5”, “@angular/router”: “^4.4.5”, “@ng-idle/core”: “^2.0.0-beta.12”, “@ng-idle/keepalive”: “^2.0.0-beta.12”, “angular2-moment”: “^1.7.0”, “bootstrap”: “^3.3.7”, “core-js”: “^2.5.1”, “hammerjs”: “^2.0.8”, “jquery”: “^3.2.1”, “ng2-signalr”: “^2.1.1”, “ngx-bootstrap”: “^1.9.3”, “rxjs”: “^5.4.3”, “signalr”: “^2.2.2”, “zone.js”: “^0.8.18” }, “devDependencies”: { “@angular/cli”: “^1.4.7”, “@angular/compiler-cli”: “^4.4.5”, “@angular/language-service”: “^4.4.5”, “@types/jasmine”: “2.5.45”, “@types/node”: “^6.0.89”, “codelyzer”: “~3.0.1”, “jasmine-core”: “^2.8.0”, “jasmine-spec-reporter”: “^4.2.1”, “karma”: “^1.7.1”, “karma-chrome-launcher”: “~2.1.1”, “karma-cli”: “~1.0.1”, “karma-coverage-istanbul-reporter”: “^1.2.1”, “karma-jasmine”: “~1.1.0”, “karma-jasmine-html-reporter”: “^0.2.2”, “protractor”: “~5.1.2”, “ts-node”: “~3.0.4”, “tslint”: “~5.3.2”, “typescript”: “~2.3.3” }

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
robert-kingcommented, Jan 14, 2018

i think something that would be useful is a circular image component that displays a circular image thats centered e.g. <mat-circle-img [src]=“…”> and it would have to use background: cover, or do it’s own calculations to centre the image.

0reactions
angular-automatic-lock-bot[bot]commented, Sep 9, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cameron Says Avatar Won't Be Shown the Same Size ...
There is no question that the shooting aspect ratio of AVATAR is 16:9 — it was shot in HD. So you can see...
Read more >
Is there an aspect ratio edit of Avatar - Extended Edition (2009)?
If you saw the movie in 2D, it was presented in a 2:35:1 CinemaScope aspect ratio. If you saw it in 3D, it...
Read more >
3D Avatar Vs. 2D Avatar, And The Importance Of Aspect Ratios
For Avatar we're shooting in a 16:9 ratio, we're extracting a cinemascope ratio from that for 2D theatrical exhibition, and for 3D theatrical ......
Read more >
Avatar Blu-Ray in 16:9? WHY? - AVForums
It was 1.78:1 at the Imax and Cameron supposed to have decided that was his preferred ratio for the film at home after...
Read more >
Idea: AVATAR (2009) - Cinemascope Aspect Ratio
Like most modern films, Avatar was shot digitally in 16:9 with safety protection in most shots for several different aspect ratios.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found