How to make smart imagecreate for text preview

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Grumps
    New Member
    • Mar 2007
    • 3

    How to make smart imagecreate for text preview

    I am already having a imagecreate script for preview. Im trying to alter the imagecreate to get to the next line if it reaches near the next end of the width limit.

    For example:
    Width: 100px
    Height: 200px
    Code:
    Please follow these guidelines when posting questions. Submitting clear and concise questions allows those reading to understand your problem and respond easily.
    Everything is written in a single line but how do i enable a <br> within the imagecreate without using any <br> in my input.

    If you're still unclear please refer to this site
    Code:
    betterfonts(dot)com
    It accepts input in one single line and the script will automatically break the text into the following line. How do you do that?

    And do i make center align for imagecreate()

    Thanks.
Working...