The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Hai there, I'm using a little script to output random text to an image (PNG). But the problem is that it doesnt parse /n/r inside it, to make the new lines.
It just, displays them. Here is the script: PHP Code:
|
|
#2
|
||||
|
||||
|
hmm, not sure, but have you tried this:
PHP Code:
|
|
#3
|
||||
|
||||
|
Well, its outputted to an image... so, it would just put <br /> in there since gifs don't parse html last I checked ~_^
right? |
|
#4
|
||||
|
||||
|
I ended up doing this for lack of a better option
PHP Code:
|
|
#5
|
|||
|
|||
|
How about exploding the string at '/r/n' or '/n' and then using ImageTTFText in a loop or something to print out the exploded strings.
Just a thought.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|