Skip to content
Advertisement

How to add text to an image with PHP GD library

I have image creation code in image_creator.

JavaScript

The file for image output is image.php and has below code

JavaScript

When I run image.php, I just get a blank page. Why is it so?

Advertisement

Answer

Use this to add text to image (copied from PHP for Kids)

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement