Question about GD library


Posted on 16th Feb 2014 07:03 pm by admin

I am trying to make an image that shows a random quote from my database.


However I want the quote to do 2 things.
1. It needs to word wrap so that it stays on the image
2. It needs to be the biggest font which still makes it fit vertically.

So I need to know how to word-wrap in GD and how to vertically check the size of that word-wrapped text.

Everything else I can figure out but I can't seem to find the right functions to achieve those

No comments posted yet

Your Answer:

Login to answer
326 Like 37 Dislike
Previous forums Next forums
Other forums

dinamic "textboxes"?
Ey all, my first post here, i hope its not a hard one

I display mysql results in a table

firefox wouldnt stream mp3 files completely from my php page
hi everyone,
I have a php file trying to read and stream mp3 files. It works fine in IE but my pr

please help me in this update statment
hi every one

if I have table and this data in it

id name
10

passing data from one page to another
hey guys
i have the follwoing code to get information from one page and place on another:

gmmktime or mktime
I live in the UK, i am within the GMT (with daylight saving time ie 1 hour difrence between summer a

PHP & Java
Hello,

can PHP code be used inside java code?

Code: [Select]<SCRIPT LANGUAGE=&q

Multiple Options for a Single Page
For this example I want to use the Handlers option which is under Fed Admin and all the related codi

Stopping page post back
I have few literal contriols in my page and a repeater too. But inspite of using update panel, postb

Product categories for registration
Dear all,

We are going live with the Supplier registered next week. At standard, the 'sel

Google Wave
So... has anyone used it yet? Is it any good?

http://wave.google.com/help/wave/about.html#vid

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash