enfrdeitptrues
Advertising

QRCode

{QRCode text="string" height="integer" width="integer" background="hex-color" foreground="hex-color" correctLevel="enumeration" render="enumeration"/}

Generate easily adapted QR codes for your website with one line.

Params for QRCode:

text (required): Typically you set an URL like "http://www.jplugger.com".

default: none

height: Sets the over all height of the QR code in pixels.

default: 128

width: Sets the over all width of the QR code in pixels.

default: 128

foreground: Sets an color for the foreground pixels in the QR code. For example red #ff0000; For further examples and values see the page of w3schools.

possible values: all RGB values in hex

default: #000000

background: Sets an color for the background pixels in the QR code. See foreground.

possible values: all RGB values in hex

default: #ffffff

correctLevel: Specify the error correction rate. "High" means the QR code is still "readable" when a portion of the code is covered (i. e. with a small logo in the center). With "low" you can achive a smaller size of the QR code as it doesn't hold as much data for the error correction like with "high".

possible values: low, medium, quartile, high

default: high

render: Just needed when you have to support IE8 and lower. In this case specify "table" to get a compatible version of the QR code.

possible values: canvas, table

default: canvas

How to use it:

{QRCode text="www.jplugger.com"/}


Example:


Available for:

Advertising

© 2010 - 2017 FINWICK® UG

We have 53 guests and no members online

enfrdeitptrues