Need php help on Image..
Hello
Lets say i create an image using php, with the dimentions 250x100px. How can i then write a string onto that image, which will break into new lines, to fit onto it? Using the imagestring() function, it seems to just continue, past the edge of the image.
Thanks for your time
pr0gr4mm3r posted this at 14:40 — 27th December 2006.
He has: 1,502 posts
Joined: Sep 2006
Use the wordwrap() function.
ablaye posted this at 19:01 — 27th December 2006.
They have: 140 posts
Joined: Apr 2006
Yep. That should do it.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.