SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Wizard
    Join Date
    Apr 2000
    Posts
    1,483
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have been told that PHP can generate images on the fly...does anyone know how this is done?
    Also does anything special need to be set up on the server?

    Thanks for your help!

  2. #2
    SitePoint Evangelist
    Join Date
    Jul 2000
    Location
    Warwickshire, England
    Posts
    557
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, you need GD which can produce jpeg, png, wbmp etc.
    Most formats apart from GIF (Because of LZWs patent).
    If you need GD for PHP 4, speak to me in the chat room or something..

  3. #3
    SitePoint Enthusiast emke's Avatar
    Join Date
    Jun 2000
    Location
    somewhere
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PHP is capable of that but you must have GD library installed and working with PHP. It can be found on:
    http://www.boutell.com/gd/
    It's pretty easy to generate images on the fly, I do it for graphs when I have data that needs to be analyzed. It takes the numbers from the database and creates nice looking graphs.
    Hope this was of help.

  4. #4
    SitePoint Wizard
    Join Date
    Apr 2000
    Posts
    1,483
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your help! I'll take a look at the URLs you gave me and hopefully find a solution.
    Thanks again


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
  •