PHP has graphics functions that you can use to dynamicly create graphics. To use them, you nee the GD library and it's support libraries compiled in. If your images, or the data to build the images are in a database, you can access this data, then call the PHP functions to create the image.
veggie2u