Title: *Free* Realtime simple text-to-image service (btc info in static pages & posts) Post by: arsenische on September 07, 2011, 06:27:17 AM I developed simple string-to-png service (inspired by Realtime BTC to $ service (https://bitcointalk.org/index.php?topic=39561.0)). You can use it to:
Usage: Code: [img]http://ansrv.com/png?s=<string or url>&c=<font color>&b=<background color>&size=<font size>[/img] Where
All arguments except s are optional. See also: http://ansrv.com/png?help (http://ansrv.com/png?help) Example: Code: [img]http://ansrv.com/png?s=http://blockexplorer.com/q/getreceivedbyaddress/19uryzRmxaCRZDoGNk9ykKsqQyZBm1u1o7/1&c=ff[/img][img]http://ansrv.com/png?s= btc donated[/img] If you find this service useful, please let me know. In that case I would keep it running, refine & polish the source code, publish it to github and maybe add some new features. Title: Re: *Free* Realtime simple text-to-image service (btc info in static pages & posts) Post by: deslok on September 13, 2011, 10:05:19 PM Is there a way to get one that just says collected instead of donated?
Title: Re: *Free* Realtime simple text-to-image service (btc info in static pages & posts) Post by: Ricochet on September 13, 2011, 10:18:02 PM Is there a way to get one that just says collected instead of donated? I would imagine it's as simple as changing the last word in the code up above. Yup. http://ansrv.com/png?s=http://blockexplorer.com/q/getreceivedbyaddress/19uryzRmxaCRZDoGNk9ykKsqQyZBm1u1o7/1&c=ffhttp://ansrv.com/png?s= btc collected Title: Re: *Free* Realtime simple text-to-image service (btc info in static pages & posts) Post by: deslok on September 13, 2011, 10:20:51 PM *blinks twice* totally missed that when i read the code, thank you
Title: Re: *Free* Realtime simple text-to-image service (btc info in static pages & posts) Post by: Spekulatius on November 01, 2013, 02:16:11 AM How can I display the current balance of my address?
If I try to implement this as a widget in wordpress it doesnt work:( I can insert the URL as an image into text of any page in wordpress though. Any ideas? Thx Title: Re: *Free* Realtime simple text-to-image service (btc info in static pages & posts) Post by: arsenische on November 01, 2013, 02:46:19 AM How can I display the current balance of my address? If I try to implement this as a widget in wordpress it doesnt work:( I can insert the URL as an image into text of any page in wordpress though. Any ideas? Thx Sorry, I don't quite understand your problem. Never made wordpress widgets though. There is a help page with HTML example: http://ansrv.com/png/?help Here is the example itself: Code: <img src='http://ansrv.com/png?s=Donated%20'/><img src='http://ansrv.com/png?s=http://blockexplorer.com/q/getreceivedbyaddress/19uryzRmxaCRZDoGNk9ykKsqQyZBm1u1o7/1'/><img src='http://ansrv.com/png?s= btc'/> |