Reputation: 11
how can i create dynamic image like: http://cache.www.gametracker.com/server_info/88.150.182.20:27015/banner_560x95.png or like this http://www.speedtest.net/result/2663743193.png
in this images some of selection will change, like: Status, Players, Rank, Ping how can i have images like this :-/ ?!
Upvotes: 0
Views: 2309
Reputation: 2113
You can use GD in PHP to open an existing image, then draw text on it at specific positions, then save the image to a cache somewhere or return it to the browser if you need it to be updated upon each request.
http://php.net/manual/en/function.imagettftext.php
Example: How to add text to an image with PHP GD library
Upvotes: 1