You’ll first want to install the MD5 library with the following command:
You can then include the library by adding the following line to
Now that we’ve installed our library for generating an MD5 hash, we can create our component. We’ll want to generate the component using the command line tools.
ember generate component gravatar-image
We can then update the generated component files to include the required code:
You can then include a Gravatar image on your website with the following line: