Home Page

QR Code

Imgshow Platform provides you a way to generate QR Code from your text or info. It is useful like you can encrypt your product name into QR Code, then have other QR Code scanner device, like the one in smart phone, to scan it, to collect the information embedded in QR Code.

Prepare your text (e.g. fyhao.com, and throw into the code below:

[imgshow]q:name=qrcode,text=fyhao.com[/imgshow]
  		
[imgshow q:name=qrcode,text=fyhao.com]
  		
<?php
require_once 'class_imgshow.php';

$img = new imgshow();
echo $img->name('qrcode')->p('text', 'fyhao.com')->load();

?>  		
var imgshow = require('imgshow');

imgshow().name('qrcode').p('text', 'fyhao.com').load(function(result) {
	console.log(result);
});
  		
var imgshow = require('./imgshow.js');

var win = Ti.UI.createWindow({title:'Imgshow Client'});
var btn = Ti.UI.createButton({left:5,top:5,right:5,bottom:5,title:'Show Me Result'});
btn.addEventListener('click', function() {
	imgshow().name('qrcode').p('text', 'fyhao.com').load(function(result) {
		alert(result);
	});	
});  		
include('imgshow.js');

if(session.ready()) {
	session.answer();
	util.say('Please hold while we querying');
	
	imgshow().name('qrcode').p('text', 'fyhao.com').load(function(message) {
		util.say('the result is ' + message);
	});
}
  		

Visit Imgshow API Github Page for more information

Showcase:

You can also specify width, height for QR Code. Like

[imgshow]q:name=qrcode,text=fyhao.com,width=100,height=100[/imgshow]
  		
[imgshow q:name=qrcode,text=fyhao.com,width=100,height=100]
  		
<?php
require_once 'class_imgshow.php';

$img = new imgshow();
echo $img->name('qrcode')->p('text', 'fyhao.com')->p('width', '100')->p('height', '100')->load();

?>  		
var imgshow = require('imgshow');

imgshow().name('qrcode').p('text', 'fyhao.com').p('width', '100').p('height', '100').load(function(result) {
	console.log(result);
});
  		
var imgshow = require('./imgshow.js');

var win = Ti.UI.createWindow({title:'Imgshow Client'});
var btn = Ti.UI.createButton({left:5,top:5,right:5,bottom:5,title:'Show Me Result'});
btn.addEventListener('click', function() {
	imgshow().name('qrcode').p('text', 'fyhao.com').p('width', '100').p('height', '100').load(function(result) {
		alert(result);
	});	
});  		
include('imgshow.js');

if(session.ready()) {
	session.answer();
	util.say('Please hold while we querying');
	
	imgshow().name('qrcode').p('text', 'fyhao.com').p('width', '100').p('height', '100').load(function(message) {
		util.say('the result is ' + message);
	});
}
  		

Visit Imgshow API Github Page for more information

With 20160702 updates, you can also specify LOGO URL inside your QR Code

[imgshow]q:name=qrcode,text=fyhao.com,logo=https://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Intel-logo.svg/2000px-Intel-logo.svg.png,width=100,height=100[/imgshow]
  		
[imgshow q:name=qrcode,text=fyhao.com,logo=https://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Intel-logo.svg/2000px-Intel-logo.svg.png,width=100,height=100]
  		
<?php
require_once 'class_imgshow.php';

$img = new imgshow();
echo $img->name('qrcode')->p('text', 'fyhao.com')->p('logo', 'https://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Intel-logo.svg/2000px-Intel-logo.svg.png')->p('width', '100')->p('height', '100')->load();

?>  		
var imgshow = require('imgshow');

imgshow().name('qrcode').p('text', 'fyhao.com').p('logo', 'https://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Intel-logo.svg/2000px-Intel-logo.svg.png').p('width', '100').p('height', '100').load(function(result) {
	console.log(result);
});
  		
var imgshow = require('./imgshow.js');

var win = Ti.UI.createWindow({title:'Imgshow Client'});
var btn = Ti.UI.createButton({left:5,top:5,right:5,bottom:5,title:'Show Me Result'});
btn.addEventListener('click', function() {
	imgshow().name('qrcode').p('text', 'fyhao.com').p('logo', 'https://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Intel-logo.svg/2000px-Intel-logo.svg.png').p('width', '100').p('height', '100').load(function(result) {
		alert(result);
	});	
});  		
include('imgshow.js');

if(session.ready()) {
	session.answer();
	util.say('Please hold while we querying');
	
	imgshow().name('qrcode').p('text', 'fyhao.com').p('logo', 'https://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Intel-logo.svg/2000px-Intel-logo.svg.png').p('width', '100').p('height', '100').load(function(message) {
		util.say('the result is ' + message);
	});
}
  		

Visit Imgshow API Github Page for more information

You can test this at Sandbox(Click Here), remember to select qrcode related service.