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

326 Like 37 Dislike
Previous php-forum Next php-forum
Other php-forum

upload photo limits
ive got a upload photo script and im just trying to make more secure currently it limits size and as

Multi Level Array Problem
hi all,

For example I have array like below:

$temp = array(array('north america', 'us'

Need a fuction to count entries in a field
Hi
I need a fuction to count how many times a email address is entered in to a field.

I ma

Insert to MySQL inside foreach
Hey.
I am parsing some html, and putting inside an html db.
I need to create a randomized inte

Code error with Index.php
Error: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/runevid/public_

generating all possible random letters
hi'

how can i randomize the letters a,b,c,d,e all possible ways, and i want to print the res

PHP page loading in Firefox but not in IE
hello,

i am currently doing a project in PHP and i have a problem. If I view the project in M

question about stripslashes and real_escape_string
im cleaning up an old app that I wrote fixing some of the vulernabilities from attacks.

I hav

Map.php
I am a complete beginner to PHP and am looking for some help with a program I am messing around with

A problem with my GD class
Hello,

I created a nice (and simple for now) GD class.
The problem is , it works great on

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