QR Code

QR Codes are fashionable little things!

I had previously worked on an implementation of QR Codes in a project using the Google Charts API — I see that is now deprecated…

Fortunately there are any number of API’s available: this is a simple implementation of a QR Code generator using the free goQR.me API. I added a bit of jQuery to keep things interesting, but the key to the following code is simply in passing a few parameters via the URL like so (paste in your browser to test):

Displaying the QR code in a webpage is then as simple as using the above as the value of the src attribute in an image tag.

which results in:




See demo here…

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.