[pmwiki-users] Display image (QR-code)

Thomas Lundgren publik at lundgren.nu
Sun Mar 12 17:17:17 CDT 2017


Thank you! That solved my problem in the most perfect way.

I have a site with quite a lot YouTube-videos on many pages. More then 
99% the pages are viewed the videos are show just like they should. But 
once a while the site-users want to print the pages (the pages contains 
a lots of text also). And a printed YouTube-video are quite boring... So 
not I have a "small cookbook" that replaces the video with the QR-code 
in my print-skin.

I´m way to lazy to create, download and then upload a QR-code for every 
video...

/ T.


On 2017-03-10 18:25, Peter Kay wrote:
> http://www.pmwiki.org/wiki/PmWiki/Images#notes
>
> So using the link 
> https://chart.googleapis.com/chart?chs=200x200&cht=qr&chl=http://www.pmwiki.org&null=.png 
> works, for example.
>
> Is there any reason not to go ahead and download the image and not 
> bother hitting google's servers every page load?  Because simply 
> uploading the image to the wiki would also work for your simple example.
>
> --Peter
>
>
> On Thu, Mar 9, 2017 at 2:41 PM, Thomas Lundgren <publik at lundgren.nu 
> <mailto:publik at lundgren.nu>> wrote:
>
>     Or this API; http://qrickit.com/qrickit_apps/qrickit_api.php
>     <http://qrickit.com/qrickit_apps/qrickit_api.php>
>
>     */ T. *
>
>
>
>     On 2017-03-09 20:36, Thomas Lundgren wrote:
>>     Google has en API that creates a QR-code "on the fly".
>>
>>     https://chart.googleapis.com/chart?chs=200x200&cht=qr&chl=http://www.pmwiki.org
>>     <https://chart.googleapis.com/chart?chs=200x200&cht=qr&chl=http://www.pmwiki.org>
>>
>>
>>     Is there any way I can make PmWiki to display the resulting
>>     PNG-image from this API (with the link above)?
>>
>>     Thanks!
>>
>>     / T.
>>
>>
>
>
>
>     ------------------------------------------------------------------------
>     Avast logo <https://www.avast.com/antivirus> 	
>
>     Detta e-postmeddelande har sökts igenom efter virus med
>     antivirusprogram från Avast.
>     www.avast.com <https://www.avast.com/antivirus>
>
>
>
>     _______________________________________________
>     pmwiki-users mailing list
>     pmwiki-users at pmichaud.com <mailto:pmwiki-users at pmichaud.com>
>     http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>     <http://www.pmichaud.com/mailman/listinfo/pmwiki-users>
>
>



---
Detta e-postmeddelande har sökts igenom efter virus med antivirusprogram från Avast.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20170312/4d2f1512/attachment.html>


More information about the pmwiki-users mailing list