Results 1 to 3 of 3

Thread: Script to add a text typed by a user on a picture

  1. #1
    Join Date
    May 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Script to add a text typed by a user on a picture

    I'm looking for a script which allows the user to type a text which is then added to a picture, something like it is possible in the imagechef site:

    http://www.imagechef.com/ic/product.jsp

    Thank you

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Speaking as a Flash guy...

    You could do that easily in Flash with the right fonts/designs and a dynamic text field.

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    That's a JSP page (Java Server Page), which is similar to PHP. I have no real information on doing this with JSP, though it is clearly possible, from that example.

    With PHP, the GD library is designed to allow image manipulation.

    You could pick a font, then use the imagetext() function to choose where, what size, and what the text would say (based on user input).

    This stuff can get quite complex, though. It isn't necessarily hard, but just a lot to figure out, since the documentation on some of the functions isn't too clear.

    http://www.php.net/manual/en/ref.image.php
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •