qrcoder_pop.php est un greffon pour Wordpress permettant de creer a la volee des qrcode pour les articles. Il les stock dans un dossier et ne l'est genere qu'a la premiere consultation. Ils sont places dans le sous-dossier wp-content/uploads/qrcodes/ de l'installation de Wordpress. Chaque icone est un PNG de 87x87 pixels de 280 à 350 octets chacuns. Comment l'utiliser : * la variable qrencode doit contenir le chemin du binaire qrencode. Pour l'installer : (apt-get install|pacman -S|...) qrencode qrcoder_pop.php is a Wordpress plugin that generate qrcode picture for each article. It create it in a hierarchical wordpress subfolder at the first blog display, so it doesn't need to generate all the picture each time. The pictures Ãare black and white PNG and take about 280~350 bytes 87x87 pixels PNG. They are placed in wp-content/uploads/qrcodes/ Wordpress sub-folder. QRencode allow to make SVG, that are biger in sizes, but perfectly scalable, even with zoom using antialiasing (that is not interesting for QRcode). I use this since november 2012 without problems. Prerequis: Install qrencode (LGPL) from FUKUCHI Kentaro : http://fukuchi.org/works/qrencode/ * Sources : tar xf qrencode-${version}.tar.gz; cd qrencode-${version; CFLAGS=-O3 ./configure --prefix=/usr && make && make install-strip * Debian/ubuntu/... : apt-get install qrencode * Arch/Antergos/... : pacman -S qrencode * Redhat/Fedora/... : yum install qrencode How to use it: * You must have qrencode. * qrencode var must contain the path of the qrencode binary. * call the php function in post header (in every page showing post) from your theme. * Its not neccessary to give any parameters! * It will verify if the qrcode already exists, and will create it only at the first acces of a post (from you blog visitors), will take no time to generate (tested for 10 posts on a singlecore 1,8Ghz celeron) mutualized server. * qrcode for article 12345 will be placed in 12/345.png so the directory will not grow too much, with posts revision not all numbers will be used so file part should be little than 999. * qrcode