Nebular: base64 user profile picture

Created on 26 Feb 2018  路  4Comments  路  Source: akveo/nebular

I'm building a website and when the user click on register I save the data like username, password and base 64 profile picture at the database.
How can I load this base64 profile picture in <nb-user></ng-user>?

All 4 comments

Hi @bnbs, please check the documentation here https://akveo.github.io/nebular/#/docs/components/user-avatar#NbUserComponentInputs

This link is unfortunately not leading anywhere anymore. And I can't figure out how it works checked the doc :( @nnixaa

In the doc there are examples of how it looks like with avatar but it is not mentioning once what the attribute is called...

@chnbz Sorry for the inconvenience, here is updated link https://akveo.github.io/nebular/docs/components/user-avatar/
You're looking for picture input.

We have base64 image example on the user docs page. You can see example source code by clicking on <> button on the top right of the example block (see screenshot below).
image

Also, there is API tab on the right, where you can find all component inputs. picture input description has mentioned base64 usage.
image

Thank you soooooo much for explaining this to me, I didn't realize 鉂わ笍 Feeling so stupid now 馃挬

I was all these days like "who writes a doc like this without any code example???" 馃檲

Was this page helpful?
0 / 5 - 0 ratings

Related issues

batousik picture batousik  路  4Comments

ChristianVega5421 picture ChristianVega5421  路  3Comments

dragonbane0 picture dragonbane0  路  3Comments

muysewinkel picture muysewinkel  路  4Comments

obarazan picture obarazan  路  3Comments