To create a QRCode, create an image tag

<img src="">

Inside the src attribute start with this:

https://chart.googleapis.com/chart?cht=qr&chs=

Now figure out how big you want the image - let's try 150x150

https://chart.googleapis.com/chart?cht=qr&chs=150x150

Add an & after that to get the next piece of information

https://chart.googleapis.com/chart?cht=qr&chs=150x150&;

and add "chl=" which will contain the information you need:

https://chart.googleapis.com/chart?cht=qr&chs=150x150&chl=

Enter in the information you want it to contain:

https://chart.googleapis.com/chart?cht=qr&chs=150x150&chl=Hello%20World

Don't forget to URLEncode your string before you put it after chl. You can 
do that at: http://meyerweb.com/eric/tools/dencoder/

For a vcard, refer to this: 
http://fisherwebdev.com/wordpress/2010/05/21/vcards-as-qr-codes-with-google-image-chart-api/

-- 
You received this message because you are subscribed to the Google Groups 
"Google Chart API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-chart-api/-/pk1pqx1dEA0J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-chart-api?hl=en.

Reply via email to