Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    New Coder
    Join Date
    Jun 2011
    Posts
    24
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question how create save button for image?

    how create save button for image?

  • #2
    New Coder
    Join Date
    Jun 2011
    Posts
    24
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question

    PHP Code:
    <?include ('class.image.php');
    ####################################################################################
    #                                                                    #
    ####################################################################################
    $img= new imager();    
    $img->upload_img=imagecreatefromjpeg('300px-Oman_Map.jpg'); #
    $img->textfontsize=80
    $img->textsx=30## ا
    $img->textsy=350## 
    $img->textcoler='#ffffff'
    $img->textfont='arial.ttf'
    $img->text='aliatwa2020'
    $img->write();?>

  • #3
    New Coder
    Join Date
    Jun 2011
    Posts
    24
    Thanks
    1
    Thanked 0 Times in 0 Posts
    please help meeeeeeeeeeeeeeeeeeeeeeee

  • #4
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,335
    Thanks
    5
    Thanked 363 Times in 360 Posts
    Well since you're posting php code, maybe you should pose this question in the php forum? This forum is for html/css.
    Teed

  • #5
    New Coder
    Join Date
    Jun 2011
    Posts
    24
    Thanks
    1
    Thanked 0 Times in 0 Posts
    o.k
    i know but i want do this with html?
    please help me

  • #6
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,335
    Thanks
    5
    Thanked 363 Times in 360 Posts
    Try googling "html forms and button attributes".
    Teed

  • #7
    New Coder
    Join Date
    Jul 2011
    Posts
    24
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Try here, it has multiple solutions:
    http://forums.digitalpoint.com/showthread.php?t=702678

  • #8
    New Coder
    Join Date
    Jun 2011
    Posts
    24
    Thanks
    1
    Thanked 0 Times in 0 Posts
    up
    up
    up
    up
    up

  • #9
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,335
    Thanks
    5
    Thanked 363 Times in 360 Posts
    Dude come on..lol Did you at least TRY and google this?


    Code:
    <form action="somePage.html">
    <input type="file" />
    <input type="submit" value="Submit" />
    </form>
    Thats about as basic as you can get. Not sure what you're going to do with the image. Are you going to display it on your action page? save it to a database? what?
    Last edited by teedoff; 07-13-2011 at 06:57 PM.
    Teed


  •  

    Posting Permissions

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