New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

angular-gravatar-image

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-gravatar-image

An AngularJS directive for Gravatar image

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Angular Gravatar Image

An AngularJS directive to show a Gravatar image

Build Status

Install via NPM

npm install angular-gravatar-image --save

Usage

Include the main file

<script src="../angular-gravatar-image.min.js"></script>

Specify in html

<gravatar-image email="deerawan@gmail.com"></gravatar-image>

Options

Available Options

  • email: Gravatar email
  • size: determine image size
  • default: default image when an email address has no matching Gravatar image
  • forcedefault: force default image to always load
  • rating: image rating to determine if an image is appropriate for a certain audience
  • ssl: serve Gravatar via SSL

More detail explanation about Gravatar options please click here

Example syntax using all options

<gravatar-image email="deerawan@gmail.com" size="200" default="404" forcedefault="y" rating="pg" ssl="true"></gravatar-image>

License

MIT License

Keywords

angularjs

FAQs

Package last updated on 12 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts