is this possible in php ?

Discussion in 'PHP' started by ironmankho, Jan 3, 2011.

  1. #1
    hi ! it is possible in php and how ?

    i have 1 picture

    [​IMG]

    and i want write some data

    and that is 2nd picture

    [​IMG]

    now it is possible to that like this ..........in PHp

    [​IMG]
     
    ironmankho, Jan 3, 2011 IP
  2. womo1984

    womo1984 Guest

    Messages:
    29
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    68
    #2
    Yes, you can do this using the GD2 library (http://php.net/manual/en/book.image.php)

    Basically you get the two images from the user (e.g. from a form and then from the $_FILES array), then create a new image in PHP (with size of both the input images) and insert the first image at the top and the second image at the bottom, add some text and you're done.
     
    womo1984, Jan 3, 2011 IP
  3. Moustafa.Elkady

    Moustafa.Elkady Member

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #3
    use the GD lib
     
    Moustafa.Elkady, Jan 3, 2011 IP
  4. php.freak

    php.freak Well-Known Member

    Messages:
    185
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #4
    Every thing is possible in programing dude.
     
    php.freak, Jan 3, 2011 IP
  5. olddocks

    olddocks Notable Member

    Messages:
    3,275
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    215
    #5
    just wrap around the image using a box and print title/description below the image. It can be easily done with css.
    if you still want to print text within a image/photo, you can use php gd library and with just 5 lines of code it can be done. consult php manual for php gd library.
     
    olddocks, Jan 3, 2011 IP
  6. Sabbir

    Sabbir Banned

    Messages:
    210
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #6
    Hi,
    In a website you can do this just with your design knowledge.. But if you want it as a whole image then .. well.. as All said you need to use GD library.. Tutorial , resources on PHP GD library are highly available in net.. :)

    Thanks
     
    Sabbir, Jan 3, 2011 IP
  7. ironmankho

    ironmankho Active Member

    Messages:
    393
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #7
    Thanks for all who replied here and give me new thought ............
     
    ironmankho, Jan 3, 2011 IP
  8. godloves

    godloves Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Hi Dude,
    Everything possible ya
     
    godloves, Jan 4, 2011 IP