![]() I recommend using 1.5x or 2x sizes for your avatars, but keeping the img tag the original size, to ensure crisp avatars on high DPI screens. You should also consider urlencoding the name, in case it contains special characters. Example: EMAIL_MD5? d= https%3A%2F%%2Fapi%2F/Lasse+Rafn/128īecause of limitations in Gravatar, we must pass in the parameters as sub-directories, instead of query-parameters. ![]() With gravatar or similarĪ good use-case would be using it as a fallback for Gravatar. Default: svg if the Accept header includes image/svg+xml, png otherwise format= svgĪll settings above can be mixed together as you desire. Default: true uppercase= false& name= different+Case Format ( format)ĭecide if the API should return SVG or PNG. Default: 8b5d5d color= ff0000 Uppercase ( uppercase)ĭecide if the API should uppercase the name/initials. Hex color for the font, without the hash (#). Default: f0e9e9 background= a0a0a0 Font Color ( color) Hex color for the image background, without the hash (#). Default: false bold= true Background Color ( background) Default: false rounded= true Bold ( bold)īoolean specifying if the returned letters should use a bold font. Boolean specifying if the returned image should be a circle.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |