Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

get gravatar image

const email = "youremail@gmail.com",
const size = 80; 
yourImg.src = `
	http://www.gravatar.com/avatar/${MD5(email)}.jpg?s=${size}
`;

// *You can get the md5 hash using the command `md5 -s <email>` on your terminal
Comment

PREVIOUS NEXT
Code Example
Javascript :: como eliminar un elemento del dom con javascript 
Javascript :: rethrow error javascript 
Javascript :: CSRF token in js 
Javascript :: make an arry from a string 
Javascript :: get image from s3 bucket javascript 
Javascript :: How to Use the trim() String Method in javascript 
Javascript :: setProps jest 
Javascript :: first letter string uppercase javascript 
Javascript :: convert array of javascript into string with comma 
Javascript :: iterate loop over mapping in solidity 
Javascript :: delay javascript 
Javascript :: ejs express layouts 
Javascript :: set exit node tor 
Javascript :: javascript get object where 
Javascript :: angular cli no test 
Javascript :: Find out the sum, minimum and maximum value in javascript 
Javascript :: timestamp to date 
Javascript :: how to use labels in javascript 
Javascript :: Format of fetch 
Javascript :: filter array 
Javascript :: string methods javascript 
Javascript :: javascript time difference 
Javascript :: get environment variables in node js 
Javascript :: how to get data from input field in react js 
Javascript :: how to recognize an array in javascript 
Javascript :: how to get the difference between two arrays in javascript 
Javascript :: make 2div in row react js 
Javascript :: splice method in javascript 
Javascript :: Expected the depth of nested jsx elements to be <= 2, but found 3 
Javascript :: js range array 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =