Code Monkey home page Code Monkey logo

clavatar's Introduction

Clavatar - A Clone Of Gravatar

Clavatar is for learning purposes. The Image service does the following:

  • Return a default image of sixe (100 x 100) if the hash is not valid or if the user does not have any avatar attached to that email address.
  • Allow you to request for any size of the image by attaching a size parameter like so s=400 or size=400 to the URL.
  • Allow you to return a cartoonized version of an image by attaching d=cp to the URL
  • Allow you to request for the black and white version of the image by attaching a d=bw to the URL.
  • Allow you to request for an artistic version of the image by attaching a d=hk to the URL.
  • Allow you to request for the compressed and optimized version of the image by attaching a q=auto to the URL.
  • Allow you to request for the best format of the image by attaching a f=auto to the URL. This will ensure that whatever browser is delivering the image gets the best format.
  • Allow you to request for the rounded corners version of the image (just as we have in every platform’s thumbnail profile image) by attaching a rc=y to the URL.
  • Allow you to rotate the image by attaching a r=40 to the URL. 40 refers to the angle. It can be any value between 1 and 100.
  • Allow you to request for a color-bordered version of the image by attaching a b=red to the URL. red refers to the color. Any color can be specified here.

clavatar's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.