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.
Did you know?Explore Trending and Topic pages for more stories like this.
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

Logic question
im wondering what's the best method to do the above list:

it is for alliance @ MMORPG game

Checking if multidimensional array is empty?
I have a for with multiple test input fields. Specifically the user submits multiple names and ages

Help with explandable category tree
I have the below query:

SELECT l1.id as lev1_id,l2.id as lev2_id,l3.id as lev3_id,l1.categ

rdns with php
I am trying to build a script that will show all of the different domains that are hosted on the sam

Login logout link help
Hi all,

Im new to php and Im having trouble creating a login/logout link for my page that dis

problem in program for counting no of chars using pointers
Hi all, I was trying to make a program which counts number of chars in a string using concpt of poin

Whats wrong with my query?
I am trying to get this query to show the appropriate ticked vehicle roof height, unless no boxs are

php code to accept and delete incoming data
Using following HTML Code please show me how to write PHP code to accept and delete the incoming dat

Casting Decimals in Oracle
This code worked as a query in DB2, but I am not sure what the syntax is for casting decimals in Ora

php libs/ browsercap.in
ok i have a host that refuses to stay current. they control my php settings and libs. is there a way

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