Members

Technology Zones

IBM Learning Center

Articles

Hosted By

MaximumASP

Info

[1951] Image Generation on the FLY using PHP

Last post 04-02-2005 4:12 AM by babulgogoi. 14 replies.
Page 1 of 1 (15 items)
Sort Posts: Previous Next
  • 01-01-1999 12:00 AM

    [1951] Image Generation on the FLY using PHP

    This thread is for discussions of Image Generation on the FLY using PHP.

    • Post Points: 0
  • Advertisement

    • Red Gate Software

    Advertisement

    Want to boost your .NET application performance?

    Some developers always seem to write efficient and lightening-fast code. What is their secret? It’s ANTS Profiler. “We improved the performance of the application up to 10 times” Dan Ports, Intrigma.

    Try it for yourself now.

  • 08-09-2002 1:47 AM In reply to

    image displayed on form when an item is selected f

    i want to display an image on a  form when an item is selected from a ComboBox. the image will be stored on the a:\drive (floppy). there will be multiple items in the combobox, each 1 relating to a specific picture. i just need the  basic code to get the img to appear after selecting the item from the combobox. if n e 1 could email me the  code or tell me where to  get  it, that would be  great! oz_utester@hotmail.com

    thanx 4 ur time!
    • Post Points: 0
  • 01-31-2003 6:15 AM In reply to

    • sshri123
    • Not Ranked
    • Joined on 01-31-2003
    • New Member
    • Points 20

    Image Generation

    Hi,
       Actually I have seen your image generation f\on the fly and i have used it on my project. But i facing a problem is i do want to use a Header("Content-Type: Image/jpg") . So if you have link please send me on sshti123@hotmail.com.

    Vivek
    • Post Points: 0
  • 01-31-2003 6:16 AM In reply to

    • sshri123
    • Not Ranked
    • Joined on 01-31-2003
    • New Member
    • Points 20

    Image Generation

    Hi,
       Actually I have seen your image generation on the fly and i have used it on my project. But i facing a problem is i do want to use a Header("Content-Type: Image/jpg") . So if you have link please send me on sshti123@hotmail.com.

    Vivek
    • Post Points: 0
  • 01-31-2003 6:17 AM In reply to

    • sshri123
    • Not Ranked
    • Joined on 01-31-2003
    • New Member
    • Points 20

    Image Generation

    Hi,
       Actually I have seen your image generation on the fly and i have used it on my project. But i facing a problem is i don't want to use a Header("Content-Type: Image/jpg") . So if you have link please send me on sshti123@hotmail.com.

    Vivek
    • Post Points: 0
  • 04-17-2003 4:48 AM In reply to

    • wink2
    • Not Ranked
    • Joined on 04-17-2003
    • New Member
    • Points 10
    To my knowledge it is not possible to send an image created on-the-fly using PHP without the content-type header being modified. Why do you not want to use the "Header("Content-Type: Image/jpg")" code?
    • Post Points: 0
  • 04-17-2003 4:51 AM In reply to

    • wink2
    • Not Ranked
    • Joined on 04-17-2003
    • New Member
    • Points 10
    I think your posting in the wrong place buddy! this is for creating and showing PHP images on-the-fly not VB! If you DO really want to take a PHP created image and put it in a VB form you can either post back here or email me at webmaster@isgeeky.com
    • Post Points: 0
  • 05-30-2003 1:09 PM In reply to

    • wangchen_ca
    • Not Ranked
    • Joined on 05-30-2003
    • United States
    • New Member
    • Points 5

    Pictures doesn't show

    hi:

    I copied your code to my PHP4.3.x+Windows2000Server+Apache2, The picture does not show at a browser, only white page.  I checked the sapce befor the "<?php"  carefully.

    In fact, befor I have a similar bad experience that I can't show picture at my machine. But If I put the code to a linux machine , it works. The situation is all my other php codes, including session,mysql, work fine. Only for this method, header(header("Content-type:image/jpeg"), the send out a image, it does not work.

    I guess there must be some setting parameters problem at apache2. Does anyone have any idea?

    Thanks


    • Post Points: 0
  • 07-23-2003 12:47 PM In reply to

    image displayed on form when an item is selected

    want to display an image on a  form when an item is selected from a ComboBox. the image will be stored on the a:\drive (floppy). there will be multiple items in the combobox, each 1 relating to a specific picture. i just need the  basic code to get the img to appear after selecting the item from the combobox. if n e 1 could email me the  code or tell me where to  get  it, that would be  great! shb53@hotmail.com

    thanx 4 ur time!
    • Post Points: 0
  • 07-23-2003 12:49 PM In reply to

    image displayed on form when an item is selected

    want to display an image on a  form when an item is selected from a ComboBox. the image will be stored on the a:\drive (floppy). there will be multiple items in the combobox, each 1 relating to a specific picture. i just need the  basic code to get the img to appear after selecting the item from the combobox. if n e 1 could email me the  code or tell me where to  get  it, that would be  great! oz_utester@hotmail.com

    thanx 4 ur time!
    • Post Points: 0
  • 08-05-2004 1:58 PM In reply to

    • Idea_Rat
    • Not Ranked
    • Joined on 08-05-2004
    • New Member
    • Points 5

    great tutorial, thanks

    very well-written & useful javascript:smilie('')
    • Post Points: 0
  • 08-18-2004 2:09 AM In reply to

    Checking

    I used the script it was good. The random script is accessed as an image in another script, then how to access the number displayed on the image so that i can check that the user entered the correct displayed number.
    • Post Points: 0
  • 09-03-2004 2:58 PM In reply to

    php_gd.dll

    after installing the gd.dll am i suppose to uncomment it in the php.ini file and if so do i restart my server to get it to load??? after putting it in my php.ini file and uncommenting it nothing came up? can you give me more detial instructions on fixing this  problem or installing this gd.dll? i am using windows xp iis5 and php5 just got it all working and jumping in for soome more, lol, well hope you can help .... altimastr
    • Post Points: 0
  • 11-06-2004 4:32 AM In reply to

    • chukws
    • Not Ranked
    • Joined on 11-05-2004
    • New Member
    • Points 60

    Image Generation on the fly

    Very good tutorial and useful. But am wondering, if it can be converted to be used as a counter in a website, to get the number of visitors to the site. It will then start from a certain number and count sequencially upwards. It could start from 1 or 10.

    Thanks
    • Post Points: 0
  • 04-02-2005 4:12 AM In reply to

    dynamic image on the fly

    Hi

    I saw them using a image-on-the-fly script as (at www.worldspaceasia.com):
    <a href="modules.php?name=Content&pa=list_pages_categories&cid=2"><img src="includes/img.php?title=Western Classical/Jazz&textsize=8&border=1&imgype=randomTTF" border="0" alt="Western Classical/Jazz"></a>

    The :
    title=
    imgype=randomTTF

    are crucial!

    So whts the secret of the img.php?

    Regards
    • Post Points: 0
Page 1 of 1 (15 items)