Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Image Components

Daniel Antonio Conte edited this page Oct 16, 2018 · 4 revisions

img-avatar

<img-avatar [src]=""></img-avatar>

Used on

  • anniversaries component;
    anniversaries
  • message component;
    message
  • contact-headline component;
    contact

References:

  • twitter (avatar): thumbnail 200x200, raw 400x400;
  • facebook - mobile (avatar): thumb 50x50, raw/retail 320x320;
  • facebook - desktop (avatar): thumb 160x160, raw 960x960;

Recommendation:

  • resolution: 160x160;
  • aspect: square;

Use cases

contact-profile.picture

  • source:
    • host: firebase;
    • format: jpg, png;
    • aspect: any;

img-profile

<img-profile [src]=""></img-profile>

Used on

  • user-details component;
    user-details
  • desk-details component;

References:

  • twitter (avatar): thumbnail 200x200, raw 400x400;
  • facebook - mobile (avatar): thumb 50x50, raw/retail 320x320;
  • facebook - desktop (avatar): thumb 160x160, raw 960x960;

Recommendation:

  • resolution: 160x160;
  • aspect: square;

Use cases

contact-profile.picture

  • source:
    • host: firebase;
    • format: jpg, png;
    • aspect: any;

img-content

<img-content [src]=""></img-content>

Used on

  • anniversaries component;
    anniversaries
  • message component;
    message
  • articles component;
  • polls component;
    polls and articles
  • article-details page;
    article-details

References:

  • twitter - mobile (image): timeline 600x400, zoom raw
  • twitter - desktop (image): timeline 900x600, zoom raw
  • facebook - mobile (image): timeline 375w, zoom raw
  • facebook - desktop (image): timeline 500w, zoom raw

Recommendation:

  • resolution: small 600x400, medium 900x600, large 1200x800;
  • aspect: 1.5;

Use cases

comment.picture

  • source:
    • host: firebase;
    • format: jpg, png;
    • aspect: any;

items.images

  • source:
    • host: meumobi;
    • format: jpg, png;
    • aspect: any;

items.thumbnails

  • source:
    • host: meumobi;
    • format: jpg, png;
    • aspect: any;

img-thumbnail

<img-thumbnail [src]=""></img-thumbnail>

Used on

  • medium-details component;
    medium-details
  • user-form page;
  • desk-form page;
    user/desk form page

References:

  • twitter (avatar): thumbnail 200x200, raw 400x400;
  • facebook - mobile (avatar): thumb 50x50, raw/retail 320x320;
  • facebook - desktop (avatar): thumb 160x160, raw 960x960;

Recommendation:

  • resolution: 200x200;
  • aspect: square;

Use cases

items.medias.thumbnails

  • source:
    • host: meumobi;
    • format: jpg, png;
    • aspect: any;

user-profile.picture

  • source:
    • host: firebase;
    • format: jpg, png;
    • aspect: any;

desk-profile.picture

  • source:
    • host: firebase;
    • format: jpg, png;
    • aspect: any;