Fork me on GitHub

GD Library  Bottom

  • Being totally new to the GD Library, I'm not at all sure how to incorporate it into my module. I want to make little images to show the progress of tasks, and I think I'll be okay building the GD code, but what is the best way to include this sort of thing into my module? Any help or tips or pointing to other modules that use GD would be happiness. :)
  • I thought this was a PHP module, rather than a piece of code...

    --
    itbegins.co.uk - Zikula Consulting

    birtwistle.me.uk - Personal Blog


    Please read the Support Guide
  • Ooops! Sorry, I meant code that uses the GD library functions. Some of the tutorials I've looked at use the PHP file as an image, so I guess I'll try that first. :)
  • You don't have to use GD that way, you can save the image to a file so you're not always creating an image on the fly (which you'll definately notice under a performance load), and also by saving it to a file it makes it possible for your web server to cache it.

    I use a tweaked version of these functions to generate thumbs, it has a few useful things you can do with GD.
  • I'm actually not using GD for thumbnailing, but rather to create images that will need to be changed based on specific data.

    It's worked so far to link to them as images and put the image generator file in my pnincludes folder. Now if I can just figure out what images I'm trying to make. :)

This list is based on users active over the last 60 minutes.