We’ve enhanced our QR code feature for user profiles, adding new parameters to give you more customization options. Here’s how you can use them:
Parameters
- type
- blank or default: No logo or avatar in the center.
- user: Adds the user’s avatar to the center.
- gravatar: Adds the Gravatar logo to the center.
- version
- blank or 1: Standard QR code.
- 3: Modern “small dots” QR code.
Example
Embed a QR code in an img
tag like this:
<code><img src="https://gravatar.com/27205e5c51cb03f862138b22bcb5dc20f94a342e744ff6df1b8dc8af3c865109.qr?type=gravatar&version=3&s=350" /><br></code>
This example generates a QR code with the Gravatar logo in the center, using the modern small dots style.