Filter: qr_link
Generates a QR barcode that links to a given url. Usually combined with the image filter.
Parameters
{{ url | qr_link: dimensions }}
Parameter | Description | Example Values |
---|---|---|
url (required) | Specifies the url that you wish your QR barcode to link to. | “http://launch.ly” |
dimensions | Specifies the dimensions of the barcode in pixels. | “150x150” |
Examples
{{ account.home | qr_link | image }}
This will generate a qrcode for your site at the default dimensions
{{ item.url | qr_link: “150x150” | image }}
This will generate a qrcode that links to your item with the dimensions set to “150x150”