Try to call button.php directly. For example:
If there is no image, so.. your server may not support image creation functions.
In case you get something like here:
So.. in this case you may misconfigurate the script. Check config.php, make sure you've edited font array for instance.